Part Number Hot Search : 
MICON 973506 1N957C MAX3012 HER102SG SD103 MA4K5 F3710ZS
Product Description
Full Text Search
 

To Download 53C810 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? s14067 lsi53C810a pci to scsi i/o processor technical manual march 2001 version 2.1
ii this document contains proprietary information of lsi logic corporation. the information contained herein is not to be used by or disclosed to third parties without the express written permission of an of?cer of lsi logic corporation. lsi logic products are not intended for use in life-support appliances, devices, or systems. use of any lsi logic product in such applications without written consent of the appropriate lsi logic of?cer is prohibited. document db14-000168-00, first edition (march 2001) this document describes the lsi logic lsi53C810a pci to scsi i/o processor and will remain the of?cial reference source for all revisions/releases of this product until rescinded by an update. to receive product literature, visit us at http://www.lsilogic.com. lsi logic corporation reserves the right to make changes to any products herein at any time without notice. lsi logic does not assume any responsibility or liability arising out of the application or use of any product described herein, except as expressly agreed to in writing by lsi logic; nor does the purchase or use of a product from lsi logic convey a license under any patent rights, copyrights, trademark rights, or any other of the intellectual property rights of lsi logic or third parties. copyright ? 1995C2001 by lsi logic corporation. all rights reserved. trademark acknowledgment the lsi logic logo design, tolerant, sdms, and scripts are registered trademarks or trademarks of lsi logic corporation. all other brand and product names may be trademarks of their respective companies.
preface iii preface this book is the primary reference and technical manual for the lsi logic lsi53C810a pci to scsi i/o processor. it contains a complete functional description for the product and includes complete physical and electrical speci?cations. audience this manual provides reference information on the lsi53C810a pci to scsi i/o processor. it is intended for system designers and programmers who are using this device to design a scsi port for pci-based personal computers, workstations, or embedded applications. organization this document has the following chapters and appendix: chapter 1, general description , includes general information about the lsi53C810a and other members of the lsi53c8xx family of pci to scsi i/o processors. chapter 2, functional description , describes the main functional areas of the chip in more detail, including the interfaces to the scsi bus. chapter 3, pci functional description , describes the chips connection to the pci bus, including the pci commands and con?guration registers supported. chapter 4, signal descriptions , contains the pin diagrams and de?nitions of each signal. chapter 5, operating registers , describes each bit in the operating registers, organized by address.
iv preface chapter 6, instruction set of the i/o processor , de?nes all of the scsi scripts instructions that are supported by the lsi53C810a. chapter 7, electrical characteristics , contains the electrical characteristics and ac timings for the chip. appendix a, register summary , is a register summary. related publications for background please contact: ansi 11 west 42nd street new york, ny 10036 (212) 642-4900 ask for document number x3.131-199x (scsi-2) global engineering documents 15 inverness way east englewood, co 80112 (800) 854-7179 or (303) 397-7956 (outside u.s.) fax (303) 397-2740 ask for document number x3.131-1994 (scsi-2) or x3.253 (scsi-3 parallel interface) endl publications 14426 black walnut court saratoga, ca 95070 (408) 867-6642 document names: scsi bench reference, scsi encyclopedia, scsi tutor prentice hall 113 sylvan avenue englewood cliffs, nj 07632 (800) 947-7700 ask for document number isbn 0-13-796855-8, scsi: understanding the small computer system interface lsi logic world wide web home page www.lsil.com
preface v pci special interest group 2575 n. e. katherine hillsboro, or 97214 (800) 433-5177; (503) 693-6232 (international); fax (503) 693-8344 scsi scripts? processors programming guide, order number s14044.a conventions used in this manual the word assert means to drive a signal true or active. the word deassert means to drive a signal false or inactive. hexadecimal numbers are indicated by the pre?x 0x for example, 0x32cf. binary numbers are indicated by the pre?x 0b for example, 0b0011.0010.1100.1111. revision record revision date remarks 1.0 6/95 first version. 2.0 7/96 revised technical manual. 2.1 3/01 all product names changed from sym to lsi.
vi preface
contents vii contents chapter 1 general description 1.1 tolerant ? technology 1-2 1.2 lsi53C810a bene?ts summary 1-3 1.2.1 scsi performance 1-3 1.2.2 pci performance 1-4 1.2.3 integration 1-4 1.2.4 ease of use 1-4 1.2.5 flexibility 1-5 1.2.6 reliability 1-5 1.2.7 testability 1-6 chapter 2 functional description 2.1 scsi core 2-1 2.1.1 dma core 2-2 2.2 scripts processor 2-2 2.2.1 sdms software: the total scsi solution 2-3 2.3 prefetching scripts instructions 2-3 2.3.1 opcode fetch burst capability 2-4 2.4 pci cache mode 2-4 2.4.1 load and store instructions 2-5 2.4.2 3.3 v/5 v pci interface 2-5 2.4.3 loopback mode 2-5 2.5 parity options 2-5 2.5.1 dma fifo 2-8 2.6 scsi bus interface 2-11 2.6.1 terminator networks 2-11 2.6.2 select/reselect during selection/reselection 2-11 2.6.3 synchronous operation 2-13
viii contents 2.7 interrupt handling 2-15 2.7.1 polling and hardware interrupts 2-15 chapter 3 pci functional description 3.1 pci addressing 3-1 3.1.1 con?guration space 3-1 3.1.2 pci bus commands and functions supported 3-2 3.2 pci cache mode 3-3 3.2.1 support for pci cache line size register 3-3 3.2.2 selection of cache line size 3-4 3.2.3 alignment 3-4 3.2.4 memory read multiple command 3-7 3.2.5 unsupported pci commands 3-8 3.3 con?guration registers 3-9 chapter 4 signal descriptions 4.1 pci bus interface signals 4-5 4.1.1 system signals 4-5 4.1.2 address and data signals 4-6 4.1.3 interface control signals 4-7 4.1.4 arbitration signals 4-8 4.1.5 error reporting signals 4-8 4.2 scsi bus interface signals 4-9 4.2.1 scsi bus interface signals 4-9 4.2.2 additional interface signals 4-10 chapter 5 operating registers chapter 6 instruction set of the i/o processor 6.1 low level register interface mode 6-1 6.2 scsi scripts 6-2 6.2.1 sample operation 6-3 6.3 block move instructions 6-5 6.3.1 first dword 6-6 6.3.2 second dword 6-12 6.4 i/o instruction 6-13
contents ix 6.4.1 first dword 6-13 6.4.2 second dword 6-22 6.5 read/write instructions 6-23 6.5.1 first dword 6-23 6.5.2 second dword 6-23 6.5.3 read-modify-write cycles 6-23 6.5.4 move to/from sfbr cycles 6-24 6.6 transfer control instructions 6-27 6.6.1 first dword 6-27 6.6.2 second dword 6-35 6.7 memory move instructions 6-36 6.7.1 first dword 6-38 6.7.2 second dword 6-38 6.7.3 third dword 6-38 6.7.4 read/write system memory from a scripts instruction 6-39 6.8 load and store instructions 6-39 6.8.1 first dword 6-40 6.8.2 second dword 6-41 chapter 7 electrical characteristics 7.1 dc characteristics 7-1 7.2 tolerant technology 7-6 7.3 ac characteristics 7-10 7.4 pci interface timing diagrams 7-12 7.4.1 target timing 7-13 7.4.2 initiator timing 7-17 7.5 pci interface timing 7-26 7.6 scsi timings 7-27 7.7 package drawings 7-33 appendix a register summary index customer feedback
x contents figures 1.1 lsi53C810a system diagram 1-7 1.2 lsi53C810a chip block diagram 1-8 2.1 dma fifo sections 2-8 2.2 lsi53C810a host interface data paths 2-10 2.3 active or regulated termination 2-12 2.4 determining the synchronous transfer rate 2-15 4.1 lsi53C810a pin diagram 4-2 4.2 functional signal grouping 4-4 5.1 register address map 5-2 6.1 scripts overview 6-5 6.2 block move instruction register 6-8 6.3 i/o instruction register 6-16 6.4 read/write register instruction 6-25 6.5 transfer control instruction 6-30 6.6 memory to memory move instruction 6-37 6.7 load and store instruction format 6-42 7.1 rise and fall time test conditions 7-8 7.2 scsi input filtering 7-8 7.3 hysteresis of scsi receiver 7-8 7.4 input current as a function of input voltage 7-9 7.5 output current as a function of output voltage 7-9 7.6 clock timing 7-10 7.7 reset input 7-11 7.8 interrupt output waveforms 7-11 7.9 pci con?guration register read 7-13 7.10 pci con?guration register write 7-14 7.11 target read 7-15 7.12 target write 7-16 7.13 opcode fetch, nonburst 7-17 7.14 burst opcode fetch 7-18 7.15 back-to-back read 7-19 7.16 back-to-back write 7-20 7.17 burst read 7-22 7.18 burst write 7-24 7.19 initiator asynchronous send 7-27 7.20 initiator asynchronous receive 7-28
contents xi 7.21 target asynchronous send 7-29 7.22 target asynchronous receive 7-30 7.23 initiator and target synchronous transfers 7-30 7.24 100 ld pqfp (ud) mechanical drawing (sheet 1 of 2) 7-34 tables 2.1 bits used for parity control and observation 2-6 2.2 scsi parity control 2-7 2.3 scsi parity errors and interrupts 2-7 3.1 pci bus commands and encoding types 3-9 3.2 pci con?guration register map 3-10 4.1 power and ground signals 4-3 4.2 system signals 4-5 4.3 address and data signals 4-6 4.4 interface control signals 4-7 4.5 arbitration signals 4-8 4.6 error reporting signals 4-8 4.7 scsi bus interface signals 4-9 4.8 additional interface signals 4-10 5.1 synchronous clock conversion factor 5-10 5.2 asynchronous clock conversion factor 5-11 5.3 examples of synchronous transfer periods and rates for scsi-1 5-13 5.4 examples of synchronous transfer periods and rates for fast scsi 5-14 5.5 scsi synchronous offset values 5-15 6.1 scripts instructions 6-3 6.2 read/write instructions 6-26 7.1 absolute maximum stress ratings 7-2 7.2 operating conditions 7-2 7.3 scsi signalssd[7:0]/, sdp/, sreq/, sack/ 7-3 7.4 scsi signalssmsg, si_o/, sc_d/, satn/, sbsy/, ssel/, srst/ 7-3 7.5 input signalsclk, sclk, gnt/, idsel, rst/, testin 7-3 7.6 capacitance 7-4 7.7 output signalsmac/_testout, req/ 7-4 7.8 output signalirq/ 7-4 7.9 output signalserr/ 7-5
xii contents 7.10 bidirectional signalsad[31:0], c_be/[3:0], frame/, irdy/, trdy/, devsel/, stop/, perr/, par/ 7-5 7.11 bidirectional signalsgpio0_fetch/, gpio1_master/ 7-6 7.12 tolerant technology electrical characteristics 7-7 7.13 clock timing 7-10 7.14 reset input timing 7-11 7.15 interrupt output 7-11 7.16 pci timing 7-26 7.17 initiator asynchronous send (5 mbytes/s) 7-27 7.18 initiator asynchronous receive (5 mbytes/s) 7-28 7.19 target asynchronous send (5 mbytes/s) 7-29 7.20 target asynchronous receive (5 mbytes/s) 7-30 7.21 scsi-1 transfers (se, 5.0 mbytes/s) 7-31 7.22 scsi-2 fast transfers (10.0 mbytes/s (8-bit transfers), 40 mhz clock) 7-31 7.23 scsi-2 fast transfers (10.0 mbytes/s (8-bit transfers), 50 mhz clock) 7-32 a.1 con?guration registers a-1 a.2 scsi registers a-2
lsi53C810a pci to scsi i/o processor 1-1 chapter 1 general description chapter 1 is divided into the following sections: section 1.1, tolerant ? technology section 1.2, lsi53C810a bene?ts summary the lsi53C810a pci to scsi i/o processor brings high-performance i/o solutions to host adapter, workstation, and general computer designs, making it easy to add scsi to any pci system. the lsi53C810a is a pin-for-pin replacement for the lsi53C810 pci to scsi i/o processor. it performs fast scsi transfers in single-ended (se) mode, and improves performance by optimizing pci bus utilization. the lsi53C810a integrates a high-performance scsi core, a pci bus master dma core, and the lsi logic scsi scripts? processor to meet the ?exibility requirements of scsi-1, scsi-2, and future scsi standards. it is designed to implement multithreaded i/o algorithms with a minimum of processor intervention, solving the protocol overhead problems of previous intelligent and nonintelligent adapter designs. the lsi53C810a is fully supported by the lsi logic storage device management system (sdms?), a software package that supports the advanced scsi protocol interface (aspi). sdms software provides bios and driver support for hard disk, tape, removable media products, and cd-rom under the major pc operating systems. the lsi53C810a is packaged in a compact rectangular 100-pin plastic quad flat pack (pqfp) package to minimize board space requirements. it operates the scsi bus at 5 mbytes/s asynchronously or 10 mbytes/s synchronously, and bursts data to the host at full pci speeds. the lsi53C810a increases scripts performance and reduces pci bus overhead by allowing instruction prefetches of 4 or 8 dwords.
1-2 general description software development tools are available to developers who use the scsi scripts language to create customized scsi software applications. the lsi53C810a allows easy ?rmware upgrades and is supported by advanced scripts commands. 1.1 tolerant ? technology the lsi53C810a features tolerant technology, which includes active negation on the scsi drivers and input signal ?ltering on the scsi receivers. active negation actively drives the scsi request, acknowledge, data, and parity signals high rather than allowing them to be passively pulled up by terminators. active negation is enabled by setting bit 7 in the scsi test three (stest3) register. tolerant receiver technology improves data integrity in unreliable cabling environments where other devices would be subject to data corruption. tolerant receivers ?lter the scsi bus signals to eliminate unwanted transitions, without the long signal delay associated with rc-type input ?lters. this improved driver and receiver technology helps eliminate double clocking of data, the single biggest reliability issue with scsi operations. the tolerant input signal ?ltering is a built in feature of all lsi logic fast scsi devices. on the lsi53c8xx family products, the user may select a ?ltering period of 30 or 60 ns, with bit 1 in the scsi test two (stest2) register. the bene?ts of tolerant technology include increased immunity to noise when the signal is going high, better performance due to balanced duty cycles, and improved fast scsi transfer rates. in addition, tolerant scsi devices do not cause glitches on the scsi bus at power-up or power-down, so other devices on the bus are also protected from data corruption. tolerant technology is compatible with both the alternative one and alternative two termination schemes proposed by the american national standards institute.
lsi53C810a bene?ts summary 1-3 1.2 lsi53C810a bene?ts summary this section provides an overview of the lsi53C810a features and bene?ts. it contains these topics: scsi performance pci performance integration ease of use flexibility reliability testability 1.2.1 scsi performance to improve scsi performance, the lsi53C810a: complies with pci 2.1 speci?cation supports variable block size and scatter/gather data transfers minimizes scsi i/o start latency performs complex bus sequences without interrupts, including restore data pointers reduces interrupt service routine (isr) overhead through a unique interrupt status reporting method performs fast scsi bus transfers in se mode C up to 7 mbytes/s asynchronous C 10 mbytes/s synchronous increases performance of data transfers to and from the chip registers with new load and store scripts instruction supports target disconnect and later reselect with no interrupt to the system processor supports execution of multithreaded i/o algorithms in scsi scripts with fast i/o context switching
1-4 general description 1.2.2 pci performance to improve pci performance, the lsi53C810a: bursts 2, 4, 8, or 16 dwords across pci bus with 80-byte dma fifo prefetches up to 8 dwords of scripts instructions supports 32-bit word data bursts with variable burst lengths. bursts scripts opcode fetches across the pci bus performs zero wait-state bus master data bursts faster than 110 mbytes/s (@ 33 mhz) supports pci cache line size register 1.2.3 integration features of the lsi53C810a which ease integration include: 3.3 v/5 v pci interface full 32-bit pci dma bus master dma controller using memory-to-memory move instructions high-performance scsi core integrated scripts processor compact 100-pin pqfp packaging 1.2.4 ease of use the lsi53C810a provides: direct pci-to-scsi connection reduced scsi development effort support for the aspi software standard using sdms software compatibility with existing lsi53c7xx and lsi53c8xx family scripts direct connection to pci and scsi se bus development tools and sample scsi scripts maskable and pollable interrupts
lsi53C810a bene?ts summary 1-5 three programmable scsi timers: select/reselect, handshake-to- handshake, and general purpose. the time-out period is programmable from 100 m s to greater than 1.6 seconds sdms software for complete pc-based operating system support support for relative jump new scsi selected as id (ssaid) bits for use when responding with multiple ids 1.2.5 flexibility the lsi53C810a provides: high level programming interface (scsi scripts) support for execution of tailored scsi sequences from main system ram flexible programming interface to tune i/o performance or to adapt to unique scsi devices flexibility to accommodate changes in the logical i/o interface de?nition low level access to all registers and all scsi bus signals fetch, master, and memory access control pins support for indirect fetching of dma address and byte counts so that scripts can be placed in a prom separate scsi and system clocks selectable irq pin disable bit ability to route system clock to scsi clock 1.2.6 reliability enhanced reliability features of the lsi53C810a include: 2 kv esd protection on scsi signals typical 300 mv scsi bus hysteresis average operating supply current of 50 ma protection against bus re?ections due to impedance mismatches
1-6 general description controlled bus assertion times (reduces rfi, improves reliability, and eases fcc certi?cation) latch-up protection greater than 150 ma voltage feed-through protection (minimum leakage current through scsi pads) high proportion (> 25%) of pins power and ground power and ground isolation of i/o pads and internal chip logic tolerant technology, which provides: C active negation of scsi data, parity, request, and acknowledge signals for improved fast scsi transfer rates. C input signal ?ltering on scsi receivers improves data integrity, even in noisy cabling environments. 1.2.7 testability the lsi53C810a provides improved testability through: access to all scsi signals through programmed i/o scsi loopback diagnostics scsi bus signal continuity checking support for single step mode operation test mode (and tree) to check pin continuity to the board a system diagram showing the connections of the lsi53C810a in a pci system is pictured in figure 1.1 . a block diagram of the lsi53C810a is pictured in figure 1.2 .
lsi53C810a bene?ts summary 1-7 figure 1.1 lsi53C810a system diagram pci bus lsi53C810a 40 mhz oscillator or scsi bus peripheral bulkhead cpu box cpu baseboard scsi term connection scsi connection optional internal connection to pci v dd v ss bus clock
1-8 general description figure 1.2 lsi53C810a chip block diagram pci master and slave control block data fifo 80 bytes scsi scripts operating registers con?guration registers scsi fifo and scsi control block tolerant technology drivers and receivers se scsi bus pci
lsi53C810a pci to scsi i/o processor 2-1 chapter 2 functional description chapter 2 is divided into the following sections: section 2.1, scsi core section 2.2, scripts processor section 2.3, prefetching scripts instructions section 2.4, pci cache mode section 2.5, parity options section 2.6, scsi bus interface section 2.7, interrupt handling the lsi53C810a contains three functional blocks: the scsi core, the dma core, and the scripts processor. the lsi53C810a is fully supported by the sdms, a complete software package that supports the lsi logic product line of scsi processors and controllers. 2.1 scsi core the scsi core supports synchronous transfer rates up to 10 mbytes/s and asynchronous transfer rates up to 7 mbytes/s on an 8-bit scsi bus. the scsi core can be programmed with scsi scripts, making it easy to ?ne tune the system for speci?c mass storage devices or advanced scsi requirements. the scsi core offers low-level register access or a high-level control interface. like ?rst generation scsi devices, the lsi53C810a scsi core can be accessed as a register-oriented device. the ability to sample and/or assert any signal on the scsi bus can be used in error recovery
2-2 functional description and diagnostic procedures. in support of loopback diagnostics, the scsi core can perform a self-selection and operate as both an initiator and a target. the scsi core is controlled by the integrated scripts processor through a high-level logical interface. commands controlling the scsi core are fetched out of the main host memory or local memory. these commands instruct the scsi core to select, reselect, disconnect, wait for a disconnect, transfer information, change bus phases and, in general, implement all aspects of the scsi protocol. the scripts processor is a special high-speed processor optimized for scsi protocol. 2.1.1 dma core the dma core is a bus master dma device that attaches directly to the industry standard pci bus. the dma core is tightly coupled to the scsi core through the scripts processor, which supports uninterrupted scatter/gather memory operations. the lsi53C810a supports 32-bit memory and automatically supports misaligned dma transfers. an 80-byte fifo allows 2, 4, 8, or 16 dword bursts across the pci bus interface to run ef?ciently without throttling the bus during pci bus latency. 2.2 scripts processor the scsi scripts processor allows both dma and scsi commands to be fetched from host memory. algorithms written in scsi scripts control the actions of the scsi and dma cores and are executed from 32-bit system ram. the scripts processor executes complex scsi bus sequences independently of the host cpu. the scripts processor can begin a scsi i/o operation in approximately 500 ns. this compares with 2C8 ms required for traditional intelligent host adapters. algorithms may be designed to tune scsi bus performance, to adjust to new bus device types (such as scanners, communication gateways, etc.), or to incorporate changes in the scsi-2 or scsi-3 logical bus de?nitions without sacri?cing i/o performance. scsi scripts are hardware independent, so they can be used interchangeably on any host or cpu system bus.
prefetching scripts instructions 2-3 a complete set of development tools is available for writing custom drivers with scsi scripts. for more information on scsi scripts instructions supported by the lsi53C810a, see chapter 6, instruction set of the i/o processor. 2.2.1 sdms software: the total scsi solution for users who do not need to develop custom drivers, lsi logic provides a total scsi solution in pc environments with sdms software. sdms software provides bios and driver support for hard disk, tape, and removable media peripherals for the major pc-based operating systems. sdms software includes a scsi bios to manage all scsi functions related to the device. it also provides a series of scsi device drivers that support most major operating systems. sdms software supports a multithreaded i/o application programming interface (api) for user-developed scsi applications. sdms software supports both the aspi and cam scsi software speci?cations. 2.3 prefetching scripts instructions when enabled by setting the prefetch enable bit (bit 5) in the dma control (dcntl) register, the prefetch logic in the lsi53C810a fetches 4 or 8 dwords of instructions. the prefetch logic automatically determines the maximum burst size that it can perform, based on the burst length as determined by the values in the dma mode (dmode) register and the pci cache line size register (if cache mode is enabled). if the unit cannot perform bursts of at least 4 dwords, it disables itself. the lsi53C810a may ?ush the contents of the prefetch unit under certain conditions, listed below, to ensure that the chip always operates from the most current version of the software. when one of these conditions apply, the contents of the prefetch unit are automatically ?ushed. on every memory move instruction. the memory move (mmov) instruction is often used to place modi?ed code directly into memory. to make sure that the chip executes all recent modi?cations, the prefetch unit ?ushes its contents and loads the modi?ed code every time a mmov instruction is issued. to avoid inadvertently ?ushing
2-4 functional description the prefetch unit contents, use the no flush memory to memory move (nfmmov) instruction for all mmov operations that do not modify code within the next 4 to 8 dwords. for more information on this instruction, refer to chapter 6, instruction set of the i/o processor. on every store instruction. the store instruction may also be used to place modi?ed code directly into memory. to avoid inadvertently ?ushing the prefetch unit contents use the no flush option for all store operations that do not modify code within the next 8 dwords. on every write to the dma scripts pointer (dsp) register. on all transfer control instructions when the transfer conditions are met. this is necessary because the next instruction to execute is not the sequential next instruction in the prefetch unit. when the prefetch flush bit ( dma control (dcntl) bit 6) is set. the unit ?ushes whenever this bit is set. the bit is self-clearing. 2.3.1 opcode fetch burst capability setting the burst opcode fetch enable bit (bit 1) in the dma mode (dmode) register (0x38) causes the lsi53C810a to burst in the ?rst two dwords of all instruction fetches. if the instruction is a memory-to- memory move, the third dword is accessed in a separate ownership. if the instruction is an indirect type, the additional dword is accessed in a subsequent bus ownership. if the instruction is a table indirect block move, the chip uses two accesses to obtain the four dwords required, in two bursts of two dwords each. note: this feature can only be used if scripts prefetching is disabled. 2.4 pci cache mode the lsi53C810a supports the pci speci?cation for an 8-bit cache line size register located in pci con?guration space. the cache line size register provides the ability to sense and react to nonaligned addresses corresponding to cache line boundaries. in conjunction with the cache line size register, the pci commands read line, read multiple, and
parity options 2-5 write and invalidate are each software enabled or disabled to allow the user full ?exibility in using these commands. for more information on pci cache mode operations, refer to chapter 3, pci functional description. 2.4.1 load and store instructions the lsi53C810a supports the load and store instruction type, which simpli?es the movement of data between memory and the internal chip registers. it also enables the lsi53C810a to transfer bytes to addresses relative to the data structure address (dsa) register. for more information on the load and store instructions, refer to chapter 6, instruction set of the i/o processor. 2.4.2 3.3 v/5 v pci interface the lsi53C810a can attach directly to a 3.3 v or a 5 v pci interface, due to separate v dd pins for the pci bus drivers. this allows the devices to be used on the universal board recommended by the pci special interest group. 2.4.3 loopback mode the lsi53C810a loopback mode allows testing of both initiator and target functions and, in effect, lets the chip communicate with itself. when the loopback enable bit is set in the scsi test two (stest2) register, bit 4, the lsi53C810a allows control of all scsi signals whether the chip is operating in the initiator or target mode. for more information on this mode of operation refer to the scsi scripts processors programming guide . 2.5 parity options the lsi53C810a implements a ?exible parity scheme that allows control of the parity sense, allows parity checking to be turned on or off, and has the ability to deliberately send a byte with bad parity over the scsi bus to test parity error recovery procedures. table 2.1 de?nes the bits that are involved in parity control and observation. table 2.2 describes the parity control function of the enable parity checking and assert scsi even parity bits in the scsi control zero (scntl0) register. table 2.3 describes the options available when a parity error occurs.
2-6 functional description table 2.1 bits used for parity control and observation bit name location description assert satn/ on parity errors scsi control zero (scntl0) , bit 1 causes the lsi53C810a to automatically assert satn/ when it detects a parity error while operating as an initiator. enable parity checking scsi control zero (scntl0) , bit 3 enables the lsi53C810a to check for parity errors. the lsi53C810a checks for odd parity. assert even scsi parity scsi control one (scntl1) , bit 2 determines the scsi parity sense generated by the lsi53C810a to the scsi bus. disable halt on satn/ or a parity error (target mode only) scsi control one (scntl1) , bit 5 causes the lsi53C810a not to halt operations when a parity error is detected in target mode. enable parity error interrupt scsi interrupt enable zero (sien0) , bit 0 determines whether the lsi53C810a generates an interrupt when it detects a scsi parity error. parity error scsi interrupt status zero (sist0) , bit 0 this status bit is set whenever the lsi53C810a detects a parity error on the scsi bus. status of scsi parity signal scsi status zero (sstat0) , bit 0 this status bit represents the active high current state of the scsi sdp0 parity signal. latched scsi parity scsi status one (sstat1) , bit 3 this bit re?ects the scsi odd parity signal corresponding to the data latched into the scsi input data latch (sidl) register. master parity error enable chip test four (ctest4) , bit 3 enables parity checking during master data phases. master data parity error dma status (dstat) , bit 6 set when the lsi53C810a, as a pci master, detects a target device signaling a parity error during a data phase. master data parity error interrupt enable dma interrupt enable (dien) , bit 6 by clearing this bit, a master data parity error does not cause assertion of irq/, but the status bit is set in the dma status (dstat) register.
parity options 2-7 table 2.2 scsi parity control epc aesp description 0 0 does not check for parity errors. parity is generated when sending scsi data. asserts odd parity when sending scsi data. 0 1 does not check for parity errors. parity is generated when sending scsi data. asserts even parity when sending scsi data. 1 0 checks for odd parity on scsi data received. parity is generated when sending scsi data. asserts odd parity when sending scsi data. 1 1 checks for odd parity on scsi data received. parity is generated when sending scsi data. asserts even parity when sending scsi data. 1. key: epc = enable parity checking (bit 3, scsi control zero (scntl0) ). asep = assert scsi even parity (bit 2, scsi control one (scntl1) ). table 2.3 scsi parity errors and interrupts dph par description 0 0 halts when a parity error occurs in the target or initiator mode and does not generate an interrupt. 0 1 halts when a parity error occurs in the target mode and generates an interrupt in target or initiator mode. 1 0 does not halt in target mode when a parity error occurs until the end of the transfer. an interrupt is not generated. 1 1 does not halt in target mode when a parity error occurs until the end of the transfer. an interrupt is generated. key: dhp = disable halt on satn/ or parity error (bit 5, scsi control one (scntl1) . par = parity error (bit 0, scsi interrupt enable zero (sien0) . this table only applies when the enable parity checking bit is set.
2-8 functional description 2.5.1 dma fifo the dma fifo is divided into four sections, each one byte wide and 20 transfers deep. the dma fifo is illustrated in figure 2.1 . figure 2.1 dma fifo sections 2.5.1.1 data paths the data path through the lsi53C810a is dependent on whether data is being moved into or out of the chip, and whether scsi data is being transferred asynchronously or synchronously. figure 2.2 shows how data is moved to/from the scsi bus in each of the different modes. the following steps determine if any bytes remain in the data path when the chip halts an operation: 32-bits wide 20 bytes deep 8-bits byte lane 1 8-bits byte lane 0 8-bits byte lane 2 8-bits byte lane 3
parity options 2-9 asynchronous scsi send C step 1. look at the dma fifo (dfifo) and dma byte counter (dbc) registers and calculate if there are bytes left in the dma fifo. to make this calculation, subtract the seven least signi?cant bits of the dma byte counter (dbc) register from the 7-bit value of the dma fifo (dfifo) register. and the result with 0x7f for a byte count between zero and 80. step 2. read bit 5 in the scsi status zero (sstat0) register to determine if any bytes are left in the scsi output data latch (sodl) register. if bit 5 is set in sstat0, then the sodl register is full. synchronous scsi send C step 1. look at the dma fifo (dfifo) and dma byte counter (dbc) registers and calculate if there are bytes left in the dma fifo. to make this calculation, subtract the seven least signi?cant bits of the dma byte counter (dbc) register from the 7-bit value of the dma fifo (dfifo) register. and the result with 0x7f for a byte count between zero and 80. step 2. read bit 5 in the scsi status zero (sstat0) register to determine if any bytes are left in the scsi output data latch (sodl) register. if bit 5 is set in sstat0, then the scsi output data latch (sodl) register is full. step 3. read bit 6 in the scsi status zero (sstat0) register to determine if any bytes are left in the sodr register. if bit 6 is set in sstat0, then the sodr register is full. asynchronous scsi receive C step 1. look at the dma fifo (dfifo) and dma byte counter (dbc) registers and calculate if there are bytes left in the dma fifo. to make this calculation, subtract the seven least signi?cant bits of the dma byte counter (dbc) register from the 7-bit value of the dma fifo (dfifo) register. and the result with 0x7f for a byte count between zero and 80.
2-10 functional description step 2. read bit 7 in the scsi status zero (sstat0) register to determine if any bytes are left in the scsi input data latch (sidl) register. if bit 7 is set in sstat0, then the scsi input data latch (sidl) register is full. synchronous scsi receive C step 1. subtract the seven least signi?cant bits of the dma byte counter (dbc) register from the 7-bit value of the dma fifo (dfifo) register. and the result with 0x7f for a byte count between zero and 80. step 2. read the scsi status one (sstat1) register and examine bits [7:4], the binary representation of the number of valid bytes in the scsi fifo, to determine if any bytes are left in the scsi fifo. figure 2.2 lsi53C810a host interface data paths pci dma fifo (4-bytes x 20) dma fifo (4-bytes x 20) sodl register sidl register scsi interface scsi interface asynchronous scsi send asynchronous scsi receive dma fifo (4-bytes x 20) dma fifo (4-bytes x 20) sodr register sodl register scsi interface scsi interface scsi fifo synchronous scsi send synchronous scsi receive interface pci interface pci interface pci interface
scsi bus interface 2-11 2.6 scsi bus interface the lsi53C810a supports se operation only. all scsi signals are active low. the lsi53C810a contains the se output drivers and can be connected directly to the scsi bus. each output is isolated from the power supply to ensure that a powered-down lsi53C810a has no effect on an active scsi bus (cmos voltage feed-through phenomena). tolerant technology provides signal ?ltering at the inputs of sreq/ and sack/ to increase immunity to signal re?ections. 2.6.1 terminator networks the terminator networks provide the biasing needed to pull signals to an inactive voltage level, and to match the impedance seen at the end of the cable with the characteristic impedance of the cable. terminators must be installed at the extreme ends of the scsi chain, and only at the ends. no system should ever have more or less than two terminators installed and active. scsi host adapters should provide a means of accommodating terminators. there should be a means of disabling the termination. se cables can use a 220 w pull-up resistor to the terminator power supply (term-power) line and a 330 w pull-down to ground. because of the high-performance nature of the lsi53C810a, regulated or active termination is recommended. figure 2.3 shows a unitrode active terminator. tolerant active negation can be used with any ansi approved termination network. for additional information, refer to the scsi-2 speci?cation. 2.6.2 select/reselect during selection/reselection in multithreaded scsi i/o environments, it is not uncommon to be selected or reselected while trying to perform selection/reselection. this situation may occur when a scsi controller (operating in the initiator mode) tries to select a target and is reselected by another. the select scripts instruction has an alternate address to which the scripts will jump when this situation occurs. the analogous situation for target devices is being selected while trying to perform a reselection.
2-12 functional description once a change in operating mode occurs, the initiator scripts should start with a set initiator instruction or the target scripts should start with a set target instruction. the selection and reselection enable bits ( scsi chip id (scid) bits 5 and 6, respectively) should both be asserted so that the lsi53C810a may respond as an initiator or as a target. if only selection is enabled, the lsi53C810a cannot be reselected as an initiator. there are also status and interrupt bits in the scsi interrupt status zero (sist0) and scsi interrupt enable zero (sien0) registers, respectively, indicating that the lsi53C810a has been selected (bit 5) or reselected (bit 4). figure 2.3 active or regulated termination terml1 terml2 terml3 terml4 terml5 terml6 terml7 terml8 terml9 terml10 terml11 terml12 terml13 terml14 terml15 terml16 terml17 terml18 uc5601qp 20 21 22 23 24 25 26 27 28 3 4 5 6 7 8 9 10 11 c1 c2 sd0 (j1.2) sd1 (j1.4) sd2 (j1.6) sd3 (j1.8) sd4 (j1.10) sd5 (j1.12) sd6 (j1.14) sd7 (j1.16) sd8 (j1.18) atn (j1.32) bsy (j1.36) ack (j1.38) rst (j1.40) msg (j1.42) sel (j1.44) c/d (j1.46) req (j1.48) i/o (j1.50) reg_out disconnect 2.85v 2 19 note: 1. c1 - 10 m f smt 2. c2 - 0.1 m f smt 3. j1 - 68-pin, high density p connector
scsi bus interface 2-13 2.6.3 synchronous operation the lsi53C810a can transfer synchronous scsi data in both the initiator and target modes. the scsi transfer (sxfer) register controls both the synchronous offset and the transfer period. it may be loaded by the cpu before scripts execution begins, from within scripts using a table indirect i/o instruction, or with a read-modify-write instruction. the lsi53C810a can receive data from the scsi bus at a synchronous transfer period as short as 80 ns or 160 ns (with a 50 mhz clock), regardless of the transfer period used to send data. the lsi53C810a can receive data at one-fourth of the divided sclk frequency. depending on the sclk frequency, the negotiated transfer period, and the synchronous clock divider, the lsi53C810a can send synchronous data at intervals as short as 100 ns for fast scsi-2 and 200 ns for scsi-1. 2.6.3.1 determining the data transfer rate synchronous data transfer rates are controlled by bits in two different registers of the lsi53C810a. following is a brief description of the bits. figure 2.4 illustrates the clock division factors used in each register, and the role of the register bits in determining the transfer rate. 2.6.3.2 scntl3 register, bits [6:4] (scf[2:0]) the scf[2:0] bits select the factor by which the frequency of sclk is divided before being presented to the synchronous scsi control logic. the output from this divider controls the rate at which data can be received; this rate must not exceed 50 mhz. the receive rate is one-fourth of the divider output. for example, if sclk is 40 mhz and the scf value is set to divide by one, then the maximum rate at which data can be received is 10 mbytes/s (40/(1*4) = 10). for synchronous send, the output of the scf divider is divided by the transfer period (xferp) bits in the scsi transfer (sxfer) register. for valid combinations of the scf and the xferp, see table 5.3 and table 5.4 , under the description of the xferp bits [7:5] in the scsi transfer (sxfer) register.
2-14 functional description 2.6.3.3 scntl3 register, bits [2:0] (ccf[2:0]) the ccf[2:0] bits select the frequency of the sclk for asynchronous scsi operations. to meet the scsi timings as de?ned by the ansi speci?cation, these bits need to be set properly. 2.6.3.4 sxfer register, bits [7:5] (tp[2:0]) the tp[2:0] divider (xferp) bits determine the scsi synchronous send rate in either initiator or target mode. this value further divides the output from the scf divider. 2.6.3.5 achieving optimal scsi send rates to achieve optimal synchronous scsi send timings, the scf divisor value should be set high, to divide the clock as much as possible before presenting the clock to the tp divider bits in the scsi transfer (sxfer) register. the tp[2:0] divider value should be as low as possible. for example, with 40 mhz clock to achieve a mbytes/s send rate, the scf bits can be set to divide by 1 and the tp bits to divide by 8; or the scf bits can be set to divide by 2 and the tp bits set to divide by 4. use the second option to achieve optimal scsi timings.
interrupt handling 2-15 figure 2.4 determining the synchronous transfer rate 2.7 interrupt handling the scripts processor in the lsi53C810a performs most functions independently of the host microprocessor. however, certain interrupt situations must be handled by the external microprocessor. this section explains all aspects of interrupts as they apply to the lsi53C810a. 2.7.1 polling and hardware interrupts the external microprocessor is informed of an interrupt condition by polling or hardware interrupts. polling means that the microprocessor must continually loop and read a register until it detects a bit set that indicates an interrupt. this method is the fastest, but it wastes cpu time sclk scf divider ccf divider synchronous divider asynchronous scsi logic divide by 4 scf2 scf1 scf0 scf divisor 0011 0 1 0 1.5 0112 1003 0003 tp2 tp1 tp0 xferp divisor 0004 0015 0106 0117 1008 1019 11010 11111 ccf2 ccf1 ccf0 scsi clock (mhz) 0 0 0 50.1-66.00 0 0 1 16.67-25.00 0 1 0 25.01-37.50 0 1 1 37.51-50.00 1 0 0 50.01-66.00 example: sclk = 40 mhz, scf = 1 ( /1) , xferp = 0 ( / 4), ccf = 3(37.51-50.00 mhz) this point must not exceed 50 mhz receive clock send clock (to scsi bus) this point must not exceed 25 mhz = (40 / 1) / 4 = 10 mbytes/s synchronous receive rate = (sclk/scf) /4 = (40/1) /4 = 10 mbytes/s synchronous send rate = (sclk / scf) /xferp
2-16 functional description that could be used for other system tasks. the preferred method of detecting interrupts in most systems is hardware interrupts. in this case, the lsi53C810a asserts the interrupt request (irq/) line that interrupts the microprocessor, causing the microprocessor to execute an interrupt service routine. a hybrid approach would use hardware interrupts for long waits, and use polling for short waits. 2.7.1.1 registers the registers in the lsi53C810a that are used for detecting or de?ning interrupts are the interrupt status (istat) , scsi interrupt status zero (sist0) , scsi interrupt status one (sist1) , dma status (dstat) , scsi interrupt enable zero (sien0) , scsi interrupt enable one (sien1) , dma control (dcntl) , and dma interrupt enable (dien) . istat C the istat is the only register that can be accessed as a slave during scripts operation. therefore, it is the register that is polled when polled interrupts are used. it is also the ?rst register that should be read after the irq/ pin is asserted in association with a hardware interrupt. the intf (interrupt-on-the-fly) bit should be the ?rst interrupt serviced. it must be written to one to be cleared. this interrupt must be cleared before servicing any other interrupts. if the sip bit in the interrupt status (istat) register is set, then a scsi-type interrupt has occurred and the scsi interrupt status zero (sist0) and scsi interrupt status one (sist1) registers should be read. if the dip bit in the interrupt status (istat) register is set, then a dma-type interrupt has occurred and the dma status (dstat) register should be read. scsi-type and dma-type interrupts may occur simultaneously, so in some cases both sip and dip may be set. sist0 and sist1 C the scsi interrupt status zero (sist0) and scsi interrupt status one (sist1) registers contain the scsi-type interrupt bits. reading these registers determines which condition or conditions caused the scsi-type interrupt, and clears that scsi interrupt condition. if the lsi53C810a is receiving data from the scsi bus and a fatal interrupt condition occurs, the lsi53C810a attempts to send the contents of the dma fifo to memory before generating the interrupt.
interrupt handling 2-17 if the lsi53C810a is sending data to the scsi bus and a fatal scsi interrupt condition occurs, data could be left in the dma fifo. because of this the dma fifo empty (dfe) bit in dma status (dstat) should be checked. if this bit is cleared, set the clf (clear dma fifo) and csf (clear scsi fifo) bits before continuing. the clf bit is bit 2 in chip test three (ctest3) . the csf bit is bit 1 in scsi test three (stest3) . dstat C the dma status (dstat) register contains the dma-type interrupt bits. reading this register determines which condition or conditions caused the dma-type interrupt, and clears that dma interrupt condition. the dfe bit, bit 7 in ds tat, i s purely a status bit; it will not generate an interrupt under any circumstances and will not be cleared when read. dma interrupts ?ush neither the dma nor scsi fifos before generating the interrupt, so the dfe bit in the dma status (dstat) register should be checked after any dma interrupt. if the dfe bit is cleared, then the fifos must be cleared by setting the clf (clear dma fifo) and csf (clear scsi fifo) bits, or ?ushed by setting the flf (flush dma fifo) bit. sien0 and sien1 C the scsi interrupt enable zero (sien0) and scsi interrupt enable one (sien1) registers are the interrupt enable registers for the scsi interrupts in scsi interrupt status zero (sist0) and scsi interrupt status one (sist1) . dien C the dma interrupt enable (dien) register is the interrupt enable register for dma interrupts in dma status (dstat) . dcntl C when bit 1 in the dma control (dcntl) register is set, the irq/ pin is not asserted when an interrupt condition occurs. the interrupt is not lost or ignored, but merely masked at the pin. clearing this bit when an interrupt is pending immediately causes the irq/ pin to assert. as with any register other than istat, this register cannot be accessed except by a scripts instruction during scripts execution.
2-18 functional description 2.7.1.2 fatal vs. nonfatal interrupts a fatal interrupt, as the name implies, always causes scripts to stop running. all nonfatal interrupts become fatal when they are enabled by setting the appropriate interrupt enable bit. interrupt masking is discussed in section 2.7.1.3, masking. all dma interrupts (indicated by the dip bit in istat and one or more bits in dstat being set) are fatal. some scsi interrupts (indicated by the sip bit in the interrupt status (istat) and one or more bits in scsi interrupt status zero (sist0) or scsi interrupt status one (sist1) being set) are nonfatal. when the lsi53C810a is operating in the initiator mode, only the function complete (cmp), selected (sel), reselected (rsl), general purpose timer expired (gen), and handshake to handshake timer expired (hth) interrupts are nonfatal. when operating in the target mode, cmp, sel, rsl, target mode: satn/ active (m/a), gen, and hth are nonfatal. refer to the description for the disable halt on a parity error or satn/ active (target mode only) (dhp) bit in the scsi control one (scntl1) register to con?gure the chips behavior when the satn/ interrupt is enabled during target mode operation. the interrupt-on-the-fly interrupt is also nonfatal, since scripts can continue when it occurs. the reason for nonfatal interrupts is to prevent scripts from stopping when an interrupt occurs that does not require service from the cpu. this prevents an interrupt when arbitration is complete (cmp set), when the lsi53C810a is selected or reselected (sel or rsl set), when the initiator asserts atn (target mode: satn/ active), or when the general purpose or handshake-to-handshake timers expire. these interrupts are not needed for events that occur during high-level scripts operation. 2.7.1.3 masking masking an interrupt means disabling or ignoring that interrupt. interrupts can be masked by clearing bits in the scsi interrupt enable zero (sien0) and scsi interrupt enable one (sien1) (for scsi interrupts) registers or the dma interrupt enable (dien) (for dma interrupts) register. how the chip responds to masked interrupts depends on:
interrupt handling 2-19 whether polling or hardware interrupts are being used; whether the interrupt is fatal or nonfatal; and whether the chip is operating in the initiator or target mode. if a nonfatal interrupt is masked and that condition occurs, the scripts do not stop, the appropriate bit in the scsi interrupt status zero (sist0) or scsi interrupt status one (sist1) is still set, the sip bit in the interrupt status (istat) is not set, and the irq/ pin is not asserted. see section 2.7.1.2, fatal vs. nonfatal interrupts, for a list of the nonfatal interrupts. if a fatal interrupt is masked and that condition occurs, then the scripts still stop, the appropriate bit in the dma status (dstat) , scsi interrupt status zero (sist0) ,or scsi interrupt status one (sist1) register is set, and the sip or dip bits in the interrupt status (istat) is set, but the irq/ pin is not asserted. when the chip is initialized, enable all fatal interrupts if you are using hardware interrupts. if a fatal interrupt is disabled and that interrupt condition occurs, the scripts halt and the system never knows it unless it times out and checks the istat after a certain period of inactivity. if you are polling the istat instead of using hardware interrupts, then masking a fatal interrupt makes no difference since the sip and dip bits in the interrupt status (istat) inform the system of interrupts, not the irq/ pin. masking an interrupt after irq/ is asserted does not cause deassertion of irq/. 2.7.1.4 stacked interrupts the lsi53C810a will stack interrupts if they occur one after the other. if the sip or dip bits in the istat register are set (?rst level), then there is already at least one pending interrupt, and any future interrupts are stacked in extra registers behind the scsi interrupt status zero (sist0) , scsi interrupt status one (sist1) , and dma status (dstat) registers (second level). when two interrupts have occurred and the two levels of the stack are full, any further interrupts set additional bits in the extra registers behind scsi interrupt status zero (sist0) , scsi interrupt status one (sist1) , and dma status (dstat) . when the ?rst level of
2-20 functional description interrupts are cleared, all the interrupts that came in afterward move into sist0, sist1, and dstat. after the ?rst interrupt is cleared by reading the appropriate register, the irq/ pin is deasserted for a minimum of three clks; the stacked interrupts move into sist0, sist1, or dstat; and the irq/ pin is asserted once again. since a masked nonfatal interrupt does not set the sip or dip bits, interrupt stacking does not occur. a masked, nonfatal interrupt still posts the interrupt in sist0, but does not assert the irq/ pin. since no interrupt is generated, future interrupts move into scsi interrupt status zero (sist0) or scsi interrupt status one (sist1) instead of being stacked behind another interrupt. when another condition occurs that generates an interrupt, the bit corresponding to the earlier masked nonfatal interrupt is still set. a related situation to interrupt stacking is when two interrupts occur simultaneously. since stacking does not occur until the sip or dip bits are set, there is a small timing window in which multiple interrupts can occur but are not stacked. these could be multiple scsi interrupts (sip set), multiple dma interrupts (dip set), or multiple scsi and multiple dma interrupts (both sip and dip set). as previously mentioned, dma interrupts do not attempt to ?ush the fifos before generating the interrupt. it is important to set the clear dma fifo (clf) and clear scsi fifo (csf) bits if a dma interrupt occurs and the dma fifo empty (dfe) bit is not set. this is because any future scsi interrupts are not posted until the dma fifo is cleared of data. these locked out scsi interrupts are posted as soon as the dma fifo is empty. 2.7.1.5 halting in an orderly fashion when an interrupt occurs, the lsi53C810a attempts to halt in an orderly fashion. if the interrupt occurs in the middle of an instruction fetch, the fetch is completed, except in the case of a bus fault. execution does not begin, but the dma scripts pointer (dsp) points to the next instruction since it is updated when the current instruction is fetched.
interrupt handling 2-21 if the dma direction is a write to memory and a scsi interrupt occurs, the lsi53C810a attempts to ?ush the dma fifo to memory before halting. under any other circumstances only the current cycle is completed before halting, so the dfe bit in dma status (dstat) should be checked to see if any data remains in the dma fifo. scsi sreq/sack handshakes that have begun are completed before halting. the lsi53C810a attempts to clean up any outstanding synchronous offset before halting. in the case of transfer control instructions, once instruction execution begins it continues to completion before halting. if the instruction is a jump/call when/if , the dma scripts pointer (dsp) is updated to the transfer address before halting. all other instructions may halt before completion. 2.7.1.6 sample interrupt service routine the following is a sample of an interrupt service routine for the lsi53C810a. it can be repeated during polling or should be called when the irq/ pin is asserted if hardware interrupts. 1. read interrupt status (istat) . 2. if the intf bit is set, it must be written to a one to clear this status. 3. if only the sip bit is set, read scsi interrupt status zero (sist0) and scsi interrupt status one (sist1) to clear the scsi interrupt condition and get the scsi interrupt status. the bits in the sist0 and sist1 tell which scsi interrupt(s) occurred and determine what action is required to service the interrupt(s). 4. if only the dip bit is set, read the dma status (dstat) to clear the interrupt condition and get the dma interrupt status. the bits in dstat tell which dma interrupts occurred and determine what action is required to service the interrupts. 5. if both the sip and dip bits are set, read scsi interrupt status zero (sist0) , scsi interrupt status one (sist1) , and dma status (dstat) to clear the scsi and dma interrupt condition and get the interrupt status. if using 8-bit reads of the sist0, sist1, and dstat registers to clear interrupts, insert a 12 clk delay between the
2-22 functional description consecutive reads to ensure that the interrupts clear properly. both the scsi and dma interrupt conditions should be handled before leaving the isr. it is recommended that the dma interrupt is serviced before the scsi interrupt, because a serious dma interrupt condition could in?uence how the scsi interrupt is acted upon. 6. when using polled interrupts, go back to step 1 before leaving the isr, in case any stacked interrupts moved in when the ?rst interrupt was cleared. when using hardware interrupts, the irq/ pin will be asserted again if there are any stacked interrupts. this should cause the system to re-enter the isr.
lsi53C810a pci to scsi i/o processor 3-1 chapter 3 pci functional description chapter 3 is divided into the following sections: section 3.1, pci addressing section 3.2, pci cache mode section 3.3, con?guration registers 3.1 pci addressing there are three types of pci-de?ned address space: con?guration space memory space i/o space 3.1.1 con?guration space con?guration space is a contiguous 256-byte set of addresses dedicated to each slot or stub on the bus. decoding c_be/[3:0] determines if a pci cycle is intended to access the con?guration register space. the idsel bus signal is a chip select that allows access to the con?guration register space only. any attempt to access con?guration space is ignored unless idsel is asserted. the eight lower order address lines and byte enables select a speci?c 8-bit register. the host processor uses this con?guration space to initialize the lsi53C810a. the lower 128 bytes of the lsi53C810a con?guration space hold system parameters while the upper 128 bytes map into the lsi53C810a operating registers. for all pci cycles except con?guration cycles, the lsi53C810a registers are located on the 256-byte block boundary de?ned by the base address assigned through the con?gured register.
3-2 pci functional description the lsi53C810a operating registers are available in both the upper and lower 128-byte portions of the 256-byte space selected. at initialization time, each pci device is assigned a base address for memory and i/o accesses. in the case of the lsi53C810a, the upper 24 bits of the address are selected. on every access, the lsi53C810a compares its assigned base addresses with the value on the address/data bus during the pci address phase. if the upper 24 bits match, the access is for the lsi53C810a and the low-order eight bits de?ne the register being accessed. a decode of c_be/[3:0] determines which registers and what type of access is to be performed. i/o space C the pci speci?cation de?nes i/o space as a contiguous 32-bit i/o address that is shared by all system resources, including the lsi53C810a. base address zero (i/o) determines which 256-byte i/o area this device occupies. memory space C the pci speci?cation de?nes memory space as a contiguous 32-bit memory address that is shared by all system resources, including the lsi53C810a. base address one (memory) determines which 256-byte memory area this device occupies. 3.1.2 pci bus commands and functions supported bus commands indicate to the target the type of transaction the master is requesting. bus commands are encoded on the c_be/[3:0] lines during the address phase. pci bus commands and encoding types appear in table 3.1 . 3.1.2.1 i/o read command the i/o read command reads data from an agent mapped in i/o address space. all 32 address bits are decoded. 3.1.2.2 i/o write command the i/o write command writes data to an agent when mapped in i/o address space. all 32 address bits are decoded.
pci cache mode 3-3 3.1.2.3 memory read command the memory read reads data from an agent mapped in memory address space. all 32 address bits are decoded. 3.1.2.4 memory read multiple command the memory read multiple command reads data from an agent mapped in memory address space. all 32 address bits are decoded. 3.1.2.5 memory read line command the memory read line command reads data from an agent mapped in memory address space. all 32 address bits are decoded. 3.1.2.6 memory write command the memory write command writes data to an agent when mapped in memory address space. all 32 address bits are decoded. 3.1.2.7 memory write and invalidate command the memory write and invalidate command writes data to an agent when mapped in memory address space. all 32 address bits are decoded. 3.2 pci cache mode the lsi53C810a supports the pci speci?cation for an 8-bit cache line size register located in pci con?guration space. the cache line size register provides the ability to sense and react to nonaligned addresses corresponding to cache line boundaries. in conjunction with the cache line size register, the pci commands read line, read multiple, and write and invalidate are each software enabled or disabled to allow the user full ?exibility in using these commands. 3.2.1 support for pci cache line size register the lsi3c810a supports the pci speci?cation for an 8-bit cache line size register in pci con?guration space. it can sense and react to nonaligned addresses corresponding to cache line boundaries.
3-4 pci functional description 3.2.2 selection of cache line size the cache logic selects a cache line size based on the values for the burst size in the dma mode (dmode) register and the pci cache line size register. note: the lsi53C810a does not automatically use the value in the pci cache line size register as the cache line size value. the chip scales the value of the cache line size register down to the nearest binary burst size allowed by the chip (2, 4, 8 or 16), compares this value to the dmode burst size, then selects the smallest as the value for the cache line size. the lsi53C810a uses this value for all burst data transfers. 3.2.3 alignment the lsi53C810a uses the calculated burst size value to monitor the current address for alignment to the cache line size. when it is not aligned, the chip disables bursting allowing only single dword transfers until a cache line boundary is reached. when the chip is aligned, bursting is re-enabled allowing bursts in increments speci?ed by the cache line size register as explained above. if the cache line size register is not set (default = 0x00), the dmode burst size is automatically used as the cache line size. 3.2.3.1 mmov misalignment the lsi53C810a does not operate in a cache alignment mode when a mmov instruction is issued and the read and write addresses are different distances from the nearest cache line boundary. for example, if the read address is 0x21f and the write address is 0x42f, and the cache line size is eight (8), the addresses are byte aligned, but they are not the same distance from the nearest cache boundary. the read address is 1 byte from the cache boundary 0x220 and the write address is 17 bytes from the cache boundary 0x440. in this situation, the chip does not align to cache boundaries and operates as an lsi53C810.
pci cache mode 3-5 3.2.3.2 memory write and invalidate command the memory write and invalidate command is identical to the memory write command, except that it additionally guarantees a minimum transfer of one complete cache line; that is to say, the master intends to write all bytes within the addressed cache line in a single pci transaction unless interrupted by the target. this command requires implementation of the pci cache line size register at address 0x0c in pci con?guration space. the lsi53C810a enables memory write and invalidate cycles when bit 0 (wrie) in the chip test three (ctest3) register and bit 4 (wie) in the pci command register are set. when the following conditions are met, memory write and invalidate commands are issued: the clse bit (cache line size enable, bit 7, dma control (dcntl) ) register), wrie bit (write and invalidate enable, bit 0, chip test three (ctest3) register, and pci con?guration command register, bit 4 are set. the cache line size register contains a legal burst size (2, 4, 8 or 16) value and that value is less than or equal to the dma mode (dmode) burst size. the chip has enough bytes in the dma fifo to complete at least one full cache line burst. the chip is aligned to a cache line boundary. when these conditions are met, the lsi53C810a issues a write and invalidate command instead of a memory write command during all pci write cycles. multiple cache line transfers C when multiple cache lines of data have been read in during a mmov instruction (see the description for the read multiple command), the lsi53C810a issues a write and invalidate command using the burst size necessary to transfer all the data in one transfer. for example, if the cache line size is 4, and the chip read in 16 dwords of data using a read multiple command, the chip switches the burst size to 16, and issues a write and invalidate to transfer all 16 dwords in one bus ownership. latency C in accordance with the pci speci?cation, the latency timer is ignored when issuing a write and invalidate command such that when a latency time-out occurs, the lsi53C810a continues to transfer up until a cache line boundary. at that point, the chip relinquishes the bus, and
3-6 pci functional description ?nish the transfer at a later time using another bus ownership. if the chip is transferring multiple cache lines it continues to transfer until the next cache boundary is reached. pci target retry C during a write and invalidate transfer, if the target device issues a retry (stop with no trdy, indicating that no data was transferred), the lsi53C810a relinquishes the bus and immediately tries to ?nish the transfer on another bus ownership. the chip issues another write and invalidate command on the next ownership, in accordance with the pci speci?cation. pci target disconnect C during a write and invalidate transfer, if the target device issues a disconnect the lsi53C810a relinquishes the bus and immediately tries to ?nish the transfer on another bus ownership. the chip does not issue another write and invalidate command on the next ownership. 3.2.3.3 memory read line command this command is identical to the memory read command, except that it additionally indicates that the master intends to fetch a complete cache line. this command is intended for use with bulk sequential data transfers where the memory system and the requesting master might gain some performance advantage by reading up to a cache line boundary rather than a single memory cycle. the read line mode function in the lsi53C810a takes advantage of the pci 2.1 speci?cation regarding issuing this command. the functionality of the enable read line bit (bit 3 in dma mode (dmode) ) resembles the write and invalidate mode in terms of conditions that must be met before a read line command is issued. however, the read line option operates exactly like the previous lsi53c8xx chips when cache mode has been disabled by a clse bit reset or when certain conditions exist in the chip (explained below). the read line mode is enabled by setting bit 3 in the dma mode (dmode) register. if cache mode is disabled, read line commands are issued on every read data transfer, except opcode fetches.
pci cache mode 3-7 if cache mode is enabled, a read line command is issued on all read cycles, except opcode fetches, when the following conditions are met: the clse (cache line size enable, bit 7, dma control (dcntl) register) and erl (enable read line, bit 3, dma mode (dmode) register) bits are set. the cache line size register must contain a legal burst size value (2, 4, 8 or 16) and that value is less than or equal to the dma mode (dmode) burst size. the number of bytes to be transferred at the time a cache boundary is reached must be equal to or greater than a full cache line size. the chip is aligned to a cache line boundary. when these conditions are met, the chip issues a read line command instead of a memory read during all pci read cycles. otherwise, it issues a normal memory read command. 3.2.4 memory read multiple command this command is identical to the memory read command except that it additionally indicates that the master may intend to fetch more than one cache line before disconnecting. the lsi53C810a supports pci read multiple functionality and issues read multiple commands on the pci bus when the read multiple mode is enabled. this mode is enabled by setting bit 2 (ermp) of the dma mode (dmode) register. the command is issued when certain conditions are met. if cache mode is enabled, a read multiple command is issued on all read cycles, except opcode fetches, when the following conditions are met: 1. the clse bit (cache line size enable, bit 7, dma control (dcntl) register) and the ermp bit (enable read multiple, bit 2, dma mode (dmode) register) are set. 2. the cache line size register contains a legal burst size value (2, 4, 8 or 16) and that value is less than or equal to the dma mode (dmode) burst size. 3. the number of bytes to be transferred at the time a cache boundary is reached is equal to or greater than the dma mode (dmode) burst size. 4. the chip is aligned to a cache line boundary.
3-8 pci functional description when these conditions are met, the chip issues a read multiple command instead of a memory read during all pci read cycles. burst size selection C the read multiple command reads in multiple cache lines of data in a single bus ownership. the number of cache lines to read is determined by the dma mode (dmode) burst size bits. in other words, the chip switches its normal operating burst size to re?ect the dma mode (dmode) burst size settings for the read multiple command. for example, if the cache line size is 4, and the dma mode (dmode) burst size is 16, the chip switches the current burst size from 4 to 16, and issues a read multiple. after the transfer, the chip switches the burst size back to the normal operating burst size of 4. read multiple with read line enabled C when both the read multiple and read line modes are enabled, the read line command is not issued if the above conditions are met. instead, a read multiple command is issued, even though the conditions for read line are met. if the read multiple mode is enabled and the read line mode is disabled, read multiple commands are issued if the read multiple conditions are met. 3.2.5 unsupported pci commands the lsi53C810a does not respond to reserved commands, special cycle, dual address cycle, or interrupt acknowledge commands as a slave. it never generates these commands as a master. pci bus commands and encoding types appear in table 3.1 .
con?guration registers 3-9 3.3 con?guration registers the con?guration registers are accessible only by system bios during pci con?guration cycles, and are not available to the user at any time. no other cycles, including scripts operations, can access these registers. the lower 128 bytes hold con?guration data while the upper 128 bytes hold the lsi53C810a operating registers, which are described in chapter 5, operating registers. the operating registers can be accessed by scripts or the host processor. table 3.1 pci bus commands and encoding types c_be[3:0] command type supported as master supported as slave 0b0000 interrupt acknowledge no no 0b0001 special cycle no no 0b0010 i/o read yes yes 0b0011 i/o write yes yes 0b0100 reserved n/a n/a 0b0101 reserved n/a n/a 0b0110 memory read yes yes 0b0111 memory write yes yes 0b1000 reserved n/a n/a 0b1001 reserved n/a n/a 0b1010 con?guration read no yes 0b1011 con?guration write no yes 0b1100 memory read multiple yes no (defaults to 0110) 0b1101 dual address cycle (dac) no no 0b1110 memory read line yes no (defaults to 0110) 0b1111 memory write and invalidate yes no (defaults to 0111)
3-10 pci functional description note: the con?guration register descriptions are provided for general information only, to indicate which pci con?guration addresses are supported in the lsi53C810a. for detailed information, refer to the pci speci?cation. all pci-compliant devices, such as the lsi53C810a, must support the vendor id , device id , command , and status registers. support of other pci-compliant registers is optional. in the lsi53C810a, registers that are not supported are not writable and return all zeros when read. only those registers and bits that are currently supported by the lsi53C810a are described in this chapter. table 3.2 contains a list of the pci con?guration registers supported in the lsi53C810a. addresses 0x40 through 0x7f are not de?ned. table 3.2 pci con?guration register map 31 16 15 0 device id vendor id 0x00 status command 0x04 class code revision id 0x08 not supported header type latency timer cache line size 0x0c base address zero (i/o) 1 1. i/o base is supported. 0x10 base address one (memory) 2 2. memory base is supported. note: addresses 0x40 to 0x7f are not de?ned. all unsupported registers are not writable and return all zeros when read. reserved registers also return zeros when read. 0x14 not supported 0x18 not supported 0x1c not supported 0x20 not supported 0x24 reserved 0x28 reserved 0x2c reserved 0x30 reserved 0x34 reserved 0x38 max_lat min_gnt interrupt pin interrupt line 0x3c
con?guration registers 3-11 register: 0x00 vendor id read only vid vendor id [15:0] this ?eld identi?es the manufacturer of the device. the vendor id is 0x1000. register: 0x02 device id read only did device id [15:0] this ?eld identi?es the particular device. the lsi53C810a device id is 0x0001. register: 0x04 command read/write the command register provides coarse control over a devices ability to generate and respond to pci cycles. when a zero is written to this register, the lsi53C810a is logically disconnected from the pci bus for all accesses except con?guration accesses. in the lsi53C810a, bits 3, 5, 7, and 9 are not implemented. bits 10 through 15 are reserved. 15 0 vid 1111000000000000 15 0 did 0000000000000000 15 9 8 7 6 5 4 3 2 1 0 rse r eper r wie r ebm ems eis 0 0 0 0 0 0 00 00 00 00 00
3-12 pci functional description r reserved [15:9] se serr/ enable 8 this bit enables the serr/ driver. serr/ is disabled when this bit is cleared. the default value of this bit is zero. this bit and bit 6 must be set to report address parity errors. r reserved 7 eper enable parity error response 6 this bit allows the lsi53C810a to detect parity errors on the pci bus and report these errors to the system. only data parity checking is enabled. the lsi53C810a always generates parity for the pci bus. r reserved 5 wie write and invalidate mode 4 this bit, when set, will cause memory write and invalidate cycles to be issued on the pci bus after certain conditions have been met. for more information on these conditions, refer to section 3.2.3.2, memory write and invalidate command. to enable write and invalidate mode, bit 0 in the chip test three (ctest3) register (operating registers) must also be set. r reserved 3 ebm enable bus mastering 2 this bit controls the ability of the lsi53C810y to act as a master on the pci bus. a value of zero disables the device from generating pci bus master accesses. a value of one allows the lsi53C810a to behave as a bus master. the lsi53C810a must be a bus master in order to fetch scripts instructions and transfer data. ems enable memory space 1 this bit controls the ability of the lsi53C810a to respond to memory space accesses. a value of zero disables the device response. a value of one allows the lsi53C810a to respond to memory space accesses at the address speci?ed by base address one (memory) .
con?guration registers 3-13 eis enable i/o space 0 this bit controls the lsi53C810as response to i/o space accesses. a value of zero disables the response. a value of one allows the lsi53C810a to respond to i/o space accesses at the address speci?ed in base address zero (i/o) . register: 0x06 status read/write the status register is used to record status information for pci bus-related events. in the lsi53C810a, bits 0 through 4 are reserved and bits 5, 6, 7, and 11 are not implemented. reads to this register behave normally. writes are slightly different in that bits can be cleared, but not set. a bit is cleared whenever the register is written, and the data in the corresponding bit location is a one. for instance, to clear bit 15 and not affect any other bits, write the value 0x8000 to the register. dpe detected parity error (from slave) 15 this bit is set by the lsi53C810a whenever it detects a data parity error, even if parity error handling is disabled. sse signaled system error 14 this bit is set whenever a device asserts the serr/ signal. rma master abort (from master) 13 a master device should set this bit whenever its transaction (except for special cycle) is terminated with master-abort. all master devices should implement this bit. 15 14 13 12 11 10 9 8 7 0 dpe sse rma rta r dt[1:0] dpr r 0000 0000 0 0 0 0 0 0 0 0
3-14 pci functional description rta received target abort (from master) 12 a master device should set this bit whenever its transaction is terminated with a target abort. all master devices should implement this bit. r reserved 11 dt[1:0] devsel/ timing [10:9] these bits encode the timing of devsel/. these bits are read only and should indicate the slowest time that a device asserts devsel/ for any bus command except con?guration read and con?guration write. the lsi53C810a supports 0b01. dpr data parity reported 8 this bit is set when the following three conditions are met: the bus agent asserted perr/ itself or observed perr/ asserted. the agent setting this bit acted as the bus master for the operation in which the error occurred. the parity error response bit in the command register is set. r reserved [7:0] 0b00 fast 0b01 medium 0b10 slow 0b11 reserved
con?guration registers 3-15 register: 0x08 revision id read only rid revision id [7:0] this register speci?es device and revision identi?ers. in the lsi53C810a, the upper nibble is 0001b. the lower nibble represents the current revision level of the device. it should have the same value as the chip revision level bits in the chip test three (ctest3) register. register: 0x09 class code read only cc class code [23:0] this register is used to identify the generic function of the device. the upper byte of this register is a base class code, the middle byte is a subclass code, and the lower byte identi?es a speci?c register level programming interface. the value of this register is 0x010000, which indicates a scsi controller. 7 0 rid lsi53C810a 00100110 lsi53C810 00010100 23 0 cc 000011110000000000000000
3-16 pci functional description register: 0x0c cache line size read/write cls cache line size [7:0] this register speci?es the system cache line size in units of 32-bit words. cache mode is enabled and disabled by the cache line size enable (clse) bit, bit 7 in the dma control (dcntl) register. setting this bit causes the lsi53C810a to align to cache line boundaries before allowing any bursting, except during mmovs in which the read and write addresses are burst size boundary misaligned. for more information see section 3.2.1, support for pci cache line size register, page 3-3 . register: 0x0d latency timer read/write lt latency timer [7:0] the latency timer register speci?es, in units of pci bus clocks, the value of the latency timer for this pci bus master. the lsi53C810a supports this timer. all eight bits are writable, allowing latency values of 0C255 pci clocks. use the following equation to calculate an optimum latency value for the lsi53C810a: latency = 2 + (burst size * (typical wait states +1)) values greater than optimum are also acceptable. 7 0 cls 00000000 7 0 lt 00000000
con?guration registers 3-17 register: 0x0e header type read only ht header type [7:0] this register identi?es the layout of bytes 0x10 through 0x3f in con?guration space and also whether or not the device contains multiple functions. the value of this register is 0x00. register: 0x10 base address zero (i/o) read/write barz base address register zero (i/o) [31:0] this 32-bit register has bit zero hardwired to one. bit 1 is reserved and must return a zero on all reads, and the other bits are used to map the device into i/o space. register: 0x14 base address one (memory) read/write baro base address register one [31:0] this register has bit 0 hardwired to zero. for detailed information on the operation of this register, refer to the pci speci?cation. 7 0 ht 00000000 31 0 barz xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1 31 0 baro xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0
3-18 pci functional description register: 0x3c interrupt line read/write il interrupt line [7:0] this register is used to communicate interrupt line routing information. post software writes the routing information into this register as it initiates and con?gures the system. the value in this register tells which input of the system interrupt controller(s) the devices interrupt pin is connected to. values in this register are speci?ed by system architecture. register: 0x3d interrupt pin read only ip interrupt pin [7:0] this register indicates which interrupt pin the device uses. its value is set to 0x01, for the inta/ signal. 7 0 il 00000000 7 0 ip 00000001
con?guration registers 3-19 register: 0x3e min_gnt read only mg min_gnt [7:0] this register is used to specify the desired settings for latency timer values. min_gnt is used to specify how long a burst period the device needs. the value speci?ed in this register is in units of 0.25 microseconds. values of zero indicate that the device has no major requirements for the settings of latency timers. the lsi53C810a sets the min_gnt register to 0x11. register: 0x3f max_lat read only ml max_lat [7:0] this register is used to specify the desired settings for latency timer values. max_lat is used to specify how often the device needs to gain access to the pci bus. the value speci?ed in these registers is in units of 0.25 microseconds. values of zero indicate that the device has no major requirements for the settings of latency timers. the lsi53C810a sets the max_lat register to 0x40. 7 0 mg 00010001 7 0 ml 01000000
3-20 pci functional description
lsi53C810a pci to scsi i/o processor 4-1 chapter 4 signal descriptions this chapter presents the lsi53C810a pin con?guration and signal de?nitions using tables and illustrations. figure 4.1 is the pin diagram and figure 4.2 is a functional signal grouping. the pin de?nitions are presented in table 4.1 through table 4.8 . the lsi53C810a is pin-for-pin compatible with the lsi53C810. this chapter is divided into the following sections: section 4.1, pci bus interface signals section 4.2, scsi bus interface signals
4-2 signal descriptions figure 4.1 lsi53C810a pin diagram a slash (/) at the end of the signal name indicates that the active state occurs when the signal is at a low voltage. when the slash is absent, the signal is active at a high voltage. ad21 v dd -i v ss -i ad16 frame/ devsel/ stop/ v ss -i v ss -i ad13 ad12 v dd -i 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 irdy/ trdy/ quad flat pack 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 ad20 ad19 ad17 c_be2/ v ss -i v dd -i c_be1/ ad15 v ss -i ad10 ad18 v ss -i perr/ pa r ad14 ad11 clk serr/ sd0/ v ss -s sd5/ sdp/ sbsy/ v ss -s ssel/ sreq/ v dd -s mac/_testout 80 78 76 74 72 70 68 66 64 62 60 58 56 54 sd6/ sd7/ 79 77 75 73 71 69 67 65 63 61 59 57 55 53 rst/ v dd -s sd2/ sd4/ v ss -s satn/ smsg/ v ss -s sio/ sd1/ sd3/ sack/ srst/ scd/ v ss -i c_be0/ v ss- i v dd- i ad1 v dd -c irq/ ad3 v ss -i ad9 ad8 ad6 ad4 ad2 ad0 v ss -c ad7 ad5 gpio0_fetch/ gpio1_master/ gnt ad31 ad30 vss-i ad28 v dd -i ad27 ad25 81 83 85 87 v ss -c ad26 v ss -i c_be3/ idsel ad22 v ss -i 89 91 93 95 97 99 v dd -c req/ ad29 ad24 ad23 32 34 36 38 40 42 44 46 48 50 31 33 35 37 39 41 43 45 47 49 lsi53C810a 100-pin testin sclk 52 51 82 84 86 88 90 92 94 96 98 100
4-3 signals are assigned a type. there are four signal types: table 4.1 describes the power and ground signals group. i input, a standard input only signal. o output, a standard output driver (typically a totem pole output). t/s 3-state, a bidirectional, 3-state input/output signal. s/t/s sustained 3-state, an active low 3-state signal owned and driven by one and only one agent at a time. table 4.1 power and ground signals name pin no. description v ss-i 5, 9, 13, 18, 22, 26, 32, 37, 43, 87, 93, 99 power supplies to the pci i/o pins. v dd-i 1 3, 16, 28, 40, 90 power supplies to the pci i/o pins. v ss-s 58, 63, 68, 73 power supplies to the scsi bus i/o pins. v dd-s 54, 77 power supplies to the scsi bus i/o pins. v ss-c 50, 81 power supplies to the internal logic core. v dd-c 46, 84 power supplies to the internal logic core. 1. these pins can accept a v dd source of 3.3 or 5 v. all other v dd pins must be supplied 5 v.
4-4 signal descriptions figure 4.2 functional signal grouping clk rst ad[31:0] c_be/[3:0] pa r frame/ trdy/ irdy/ stop/ devsel/ idsel req/ gnt/ serr/ perr/ gpio0_fetch/ gpio1_master/ mac/_testout irq/ system address and data interface control arbitration error reporting scsi sclk sd[7:0] sdp sctrl/ additional testin/ interface
pci bus interface signals 4-5 4.1 pci bus interface signals the pci signal de?nitions are organized into the following functional groups: power and ground signals , system signals , address and data signals , interface control signals , arbitration signals , and error reporting signals . 4.1.1 system signals table 4.2 describes the system signals group. table 4.2 system signals name pin no. type description clk 80 i clock provides timing for all transactions on the pci bus and is an input to every pci device. all other pci signals are sampled on the rising edge of clk, and other timing parameters are de?ned with respect to this edge. clock can optionally serve as the scsi core clock, but this may effect fast scsi transfer rates. rst/ 79 i reset forces the pci sequencer of each device to a known state. all t/s and s/t/s signals are forced to a high impedance state, and all internal logic is reset. the rst/ input is synchronized internally to the rising edge of clk. the clk input must be active while rst/ is active to properly reset the device.
4-6 signal descriptions 4.1.2 address and data signals table 4.3 describes the address and data signals group. table 4.3 address and data signals name pin no. type description ad[31:0] 85, 86, 88, 89, 91, 92, 94, 95, 98, 100, 1, 2, 4, 6, 7, 8, 23, 24, 25, 27, 29, 30, 31, 33, 35, 36, 38, 39, 41, 42, 44, 45 t/s physical dword address and data are multiplexed on the same pci pins. during the ?rst clock of a transaction, ad[31:0] contain a physical byte address. during subsequent clocks, ad[31:0] contain data. a bus transaction consists of an address phase followed by one or more data phases. pci supports both read and write bursts. ad[7:0] de?ne the least signi?cant byte, and ad[31:24] de?ne the most signi?cant byte. c_be/[3:0] 96, 10, 21, 34 t/s bus command and byte enables are multiplexed on the same pci pins. during the address phase of a transaction, c_be/[3:0] de?ne the bus command. during the data phase, c_be/[3:0] are used as byte enables. the byte enables determine which byte lanes carry meaningful data. c_be/[0] applies to byte 0, and c_be/[3] to byte 3. par 20 t/s parity is the even parity bit that protects the ad[31:0] and c_be/[3:0] lines. during address phase, both the address and command bits are covered. during data phase, both data and byte enables are covered.
pci bus interface signals 4-7 4.1.3 interface control signals table 4.4 describes the interface control signals group. table 4.4 interface control signals name pin no. type description frame/ 11 s/t/s cycle frame is driven by the current master to indicate the beginning and duration of an access. frame/ is asserted to indicate that a bus transaction is beginning. while frame/ is asserted, data transfers continue. while frame/ is deasserted, either the transaction is in the ?nal data phase or the bus is idle. trdy/ 14 s/t/s target ready indicates the target agents (selected devices) ability to complete the current data phase of the transaction. trdy/ is used with irdy/. a data phase is completed on any clock when used with irdy/. a data phase is completed on any clock when both trdy/ and irdy/ are sampled asserted. during a read, trdy/ indicates that valid data is present on ad[31:0]. during a write, it indicates that the target is prepared to accept data. wait cycles are inserted until both irdy/ and trdy/ are asserted together. irdy/ 12 s/t/s initiator ready indicates the initiating agents (bus masters) ability to complete the current data phase of the transaction. irdy/ is used with trdy/. a data phase is completed on any clock when both irdy/ and trdy/ are sampled asserted. during a write, irdy/ indicates that valid data is present on ad[31:0]. during a read, it indicates that the master is prepared to accept data. wait cycles are inserted until both irdy/ and trdy/ are asserted together. stop/ 17 s/t/s stop indicates that the selected target is requesting the master to stop the current transaction. devsel/ 15 s/t/s device select indicates that the driving device has decoded its address as the target of the current access. as an input, it indicates to a master whether any device on the bus has been selected. idsel 97 i initialization device select is used as a chip select in place of the upper 24 address lines during con?guration read and write transactions.
4-8 signal descriptions 4.1.4 arbitration signals table 4.5 describes the arbitration signals group. 4.1.5 error reporting signals table 4.6 describes the error reporting signals group. table 4.5 arbitration signals name pin no. type strength description req/ 200, a4 o 16 ma pci request indicates to the system arbiter that this agent desires use of the pci bus. this is a point-to-point signal. every master has its own req/ signal. gnt/ 199, b5 i n/a grant indicates to the agent that access to the pci bus has been granted. this is a point-to-point signal. every master has its own gnt/ signal. table 4.6 error reporting signals name pin no. type description perr/ 19 s/t/s parity error may be pulsed active by an agent that detects a data parity error. perr/ can be used by any agent to signal data corruption. however, on detection of a perr/ pulse, the central resource may generate a nonmaskable interrupt to the host cpu, which often implies the system is unable to continue operation once error processing is complete. serr/ 78 o system error is an open drain output used to report address parity errors.
scsi bus interface signals 4-9 4.2 scsi bus interface signals the scsi signal de?nitions are organized into the following functional groups: scsi bus interface signals and additional interface signals . 4.2.1 scsi bus interface signals table 4.7 describes the scsi bus interface signals group. table 4.7 scsi bus interface signals name pin no. type description sclk 51 i scsi clock is used to derive all scsi-related timings. the speed of this clock is determined by the application requirements. in some applications, sclk may be sourced internally from the pci bus clock (clk). if sclk is internally sourced, tie the sclk pin low. sd[7:0], sdp 67, 69, 70, 71, 72, 74, 75, 76, 66 i/o scsi data includes the following data lines and parity signals: sd[7:0] (8-bit scsi data bus), and sdp (scsi data parity bit). sctrl/ 57, 55, 60, 56, 62, 64, 65, 61, 59 i/o scsi control includes the following signals: scd/ scsi phase line, command/data sio/ scsi phase line, input/output smsg/ scsi phase line, message sreq/ data handshake signal from target device sack/ data handshake signal from initiator device sbsy/ scsi bus arbitration signal, busy satn/ scsi attention, the initiator is requesting a message out phase srst/ scsi bus reset ssel/ scsi bus arbitration signal, select device
4-10 signal descriptions 4.2.2 additional interface signals table 4.8 describes the additional interface signals group. table 4.8 additional interface signals name pin no. type description testin/ 52 i test in . when this pin is driven low, the lsi53C810a connects all inputs and outputs to an and tree. the scsi control signals and data lines are not connected to the and tree. the output of the and tree is connected to the test out pin. this allows manufacturers to verify chip connectivity and determine exactly which pins are not properly attached. when the testin pin is driven low, internal pull-ups are enabled on all input, output, and bidirectional pins, all outputs and bidirectional signals will be 3-stated, and the mac/_testout pin will be enabled. connectivity can be tested by driving one of the lsi53C810a pins low. the mac/_testout pin should respond by also driving low. gpio0_ fetch/ 48 i/o general purpose i/o pin. optionally, when driven low, this pin indicates that the next bus request will be for an opcode fetch. this pin powers up as a general purpose input. this pin has two speci?c purposes in the lsi logic sdms software. sdms software uses it to toggle scsi device leds, turning on the led whenever the lsi53C810a is on the scsi bus. sdms software drives this pin low to turn on the led, or drives it high to turn off the led. this signal can also be used as data i/o for serial eeprom access. in this case it is used with the gpio0 pin, which serves as a clock, and the pin can be controlled from pci con?guration register 0x35 or observed from the general purpose (gpreg) operating register, at address 0x07. gpio1_ master/ 49 i/o general purpose i/o pin. optionally, when driven low, indicates that the lsi53C810a is bus master. this pin powers up as a general purpose input. lsi logic sdms software supports use of this signal in serial eeprom applications, when enabled, in combination with the gpio0 pin. when this signal is used as a clock for serial eeprom access, the gpio1 pin serves as data, and the pin is controlled from pci con?guration register 0x35.
scsi bus interface signals 4-11 mac/_ testout 53 t/s memory access control . this pin can be programmed to indicate local or system memory accesses (non-pci applications). it is also used to test the connectivity of the lsi53C810a signals using an and tree scheme. the mac/_testout pin is only driven as the test out function when the testin/ pin is driven low. irq/ 47 o interrupt . this signal, when asserted low, indicates that an interrupting condition has occurred and that service is required from the host cpu. the output drive of this pin is programmed as either open drain with an internal weak pull-up or, optionally, as a totem pole driver. refer to the description of dma control (dcntl) register, bit 3, for additional information. table 4.8 additional interface signals (cont.) name pin no. type description
4-12 signal descriptions
lsi53C810a pci to scsi i/o processor 5-1 chapter 5 operating registers this chapter describes all lsi53C810a operating registers. table 5.1 , the register map, lists registers by operating and con?guration addresses. the terms set and assert are used to refer to bits that are programmed to a binary one. similarly, the terms deassert, clear, and reset are used to refer to bits that are programmed to a binary zero. any bits marked as reserved should always be written to zero; mask all information read from them. reserved bit functions may be changed at any time. unless otherwise indicated, all bits in registers are active high, that is, the feature is enabled by setting the bit. the bottom row of every register diagram shows the default register values, which are enabled after the chip is powered on or reset. note: the only register that the host cpu can access while the lsi53C810a is executing scripts is the interrupt status (istat) register. attempts to access other registers interferes with the operation of the chip. however, all operating registers are accessible with scripts. all read data is synchronized and stable when presented to the pci bus. the lsi53C810a cannot fetch scripts instructions from the operating register space. fetch instructions from system memory.
5-2 operating registers figure 5.1 register address map register: 0x00 (0x80) scsi control zero (scntl0) read/write 31 16 15 0 mem i/o con?g scntl3 scntl2 scntl1 scntl0 0x00 0x80 gpreg sdid sxfer scid 0x04 0x84 sbcl ssid socl sfbr 0x08 0x88 sstat2 sstat1 sstat0 dstat 0x0c 0x8c dsa 0x10 0x90 reserved istat 0x14 0x94 ctest3 ctest2 ctest1 reserved 0x18 0x98 temp 0x1c 0x9c ctest6 ctest5 ctest4 dfifo 0x20 0xa0 dcmd dbc 0x24 0xa4 dnad 0x28 0xa8 dsp 0x2c 0xac dsps 0x30 0xb0 scratch a 0x34 0xb4 dcntl sbr dien dmode 0x38 0xb8 adder 0x3c 0xbc sist1 sist0 sien1 sien0 0x40 0xc0 gpcntl macntl reserved slpar 0x44 0xc4 reserved respid stime1 stime0 0x48 0xc8 stest3 stest2 stest1 stest0 0x4c 0xcc reserved sidl 0x50 0xd0 reserved sodl 0x54 0xd4 reserved sbdl 0x58 0xd8 scratch b 0x5c 0xdc 76543210 arb[1:0] start watn epc r aap trg 11000 x00
5-3 arb[1:0] arbitration mode bits 1 and 0 [7:6] simple arbitration 1. the lsi53C810a waits for a bus free condition to occur. 2. it asserts sbsy/ and its scsi id (contained in the scsi chip id (scid) register) onto the scsi bus. if the ssel/ signal is asserted by another scsi device, the lsi53C810a deasserts sbsy/, deasserts its id, and sets the lost arbitration bit (bit 3) in the scsi status zero (sstat0) register. 3. after an arbitration delay, the cpu should read the scsi bus data lines (sbdl) register to check if a higher priority scsi id is present. if no higher priority id bit is set, and the lost arbitration bit is not set, the lsi53C810a wins arbitration. 4. once the lsi53C810a wins arbitration, ssel/ must be asserted using the scsi output control latch (socl) for a bus clear plus a bus settle delay (1.2 m s) before a low level selection is performed. full arbitration, selection/reselection 1. the lsi53C810a waits for a bus free condition. 2. it asserts sbsy/ and its scsi id (the highest priority id stored in the scsi chip id (scid) register) onto the scsi bus. 3. if the ssel/ signal is asserted by another scsi device or if the lsi53C810a detects a higher priority id, the lsi53C810a deasserts bsy, deasserts its id, and waits until the next bus free state to try arbitration again. arb1 arb0 arbitration mode 0 0 simple arbitration 0 1 reserved 1 0 reserved 1 1 full arbitration, selection/reselection
5-4 operating registers 4. the lsi53C810a repeats arbitration until it wins control of the scsi bus. when it wins, the won arbitration bit is set in the scsi status zero (sstat0) register, bit 2. 5. the lsi53C810a performs selection by asserting the following onto the scsi bus: ssel/, the targets id (stored in the scsi destination id (sdid) register), and the lsi53C810as id (stored in the scsi chip id (scid) register). 6. after a selection is complete, the function complete bit is set in the scsi interrupt status zero (sist0) register, bit 6. 7. if a selection time-out occurs, the selection time-out bit is set in the scsi interrupt status one (sist1) register, bit 2. start start sequence 5 when this bit is set, the lsi53C810a starts the arbitration sequence indicated by the arbitration mode bits. the start sequence bit is accessed directly in low level mode; during scsi scripts operations, this bit is controlled by the scripts processor. do not start an arbitration sequence if the connected (con) bit in the scsi control one (scntl1) register, bit 4, indicates that the lsi53C810a is already connected to the scsi bus. this bit is automatically cleared when the arbitration sequence is complete. if a sequence is aborted, check bit 4 in the scsi control one (scntl1) register to verify that the lsi53C810a is not connected to the scsi bus. watn select with satn/ on a start sequence 4 when this bit is set and the lsi53C810a is in the initiator mode, the satn/ signal is asserted during selection of a scsi target device. this is to inform the target that the lsi53C810a has a message to send. if a selection time-out occurs while attempting to select a target device, satn/ is deasserted at the same time ssel/ is deasserted. when this bit is cleared, the satn/ signal is not asserted during selection. when executing scsi scripts, this bit is controlled by the scripts processor, but manual setting is possible in low level mode.
5-5 epc enable parity checking 3 when this bit is set, the scsi data bus is checked for odd parity when data is received from the scsi bus in either the initiator or target mode. if a parity error is detected, bit 0 of the scsi interrupt status zero (sist0) register is set and an interrupt may be generated. if the lsi53C810a is operating in the initiator mode and a parity error is detected, assertion of satn/ is optional, but the transfer continues until the target changes phase. when this bit is cleared, parity errors are not reported. r reserved 2 aap assert satn/ on parity error 1 when this bit is set, the lsi53C810a automatically asserts the satn/ signal upon detection of a parity error. satn/ is only asserted in the initiator mode. the satn/ signal is asserted before deasserting sack/ during the byte transfer with the parity error. also set the enable parity checking bit for the lsi53C810a to assert satn/ in this manner. a parity error is detected on data received from the scsi bus. if the assert satn/ on parity error bit is cleared or the enable parity checking bit is cleared, satn/ is not automatically asserted on the scsi bus when a parity error is received. trg target mode 0 this bit determines the default operating mode of the lsi53C810a. the user must manually set the target or initiator mode. this is done using the scripts language ( set target or clear target ). when this bit is set, the chip is a target device by default. when this bit is cleared, the lsi53C810a is an initiator device by default. note: writing this bit while not connected may cause the loss of a selection or reselection due to the changing of target or initiator modes.
5-6 operating registers register: 0x01 (0x81) scsi control one (scntl1) read/write exc extra clock cycle of data setup 7 when this bit is set, an extra clock period of data setup is added to each scsi data transfer. the extra data setup time can provide additional system design margin, though it affects the scsi transfer rates. clearing this bit disables the extra clock cycle of data setup time. setting this bit only affects scsi send operations. adb assert scsi data bus 6 when this bit is set, the lsi53C810a drives the contents of the scsi output data latch (sodl) register onto the scsi data bus. when the lsi53C810a is an initiator, the scsi i/o signal must be inactive to assert the scsi out- put data latch (sodl) contents onto the scsi bus. when the lsi53C810a is a target, the scsi i/o signal must be active to assert the scsi output data latch (sodl) contents onto the scsi bus. the contents of the scsi output data latch (sodl) register can be asserted at any time, even before the lsi53C810a is connected to the scsi bus. clear this bit when executing scsi scripts. it is normally used only for diagnostics testing or operation in low level mode. dhp disable halt on parity error or atn (target only) 5 the dhp bit is only de?ned for target mode. when this bit is cleared, the lsi53C810a halts the scsi data transfer when a parity error is detected or when the satn/ signal is asserted. if satn/ or a parity error is received in the middle of a data transfer, the lsi53C810a may transfer up to three additional bytes before halting to synchronize between internal core cells. during synchronous operation, the lsi53C810a transfers data until there are no outstanding synchronous offsets. if the lsi53C810a is receiving data, any data residing in the dma fifo is sent to memory before halting. 76543210 exc adb dhp con rst aesp iarb sst 00000000
5-7 when this bit is set, the lsi53C810a does not halt the scsi transfer when satn/ or a parity error is received. con connected 4 this bit is automatically set any time the lsi53C810a is connected to the scsi bus as an initiator or as a target. it is set after the lsi53C810a successfully completes arbitration or when it has responded to a bus-initiated selection or reselection. this bit is also set after the chip wins simple arbitration when operating in low level mode. when this bit is cleared, the lsi53C810a is not connected to the scsi bus. the cpu can force a connected or disconnected condition by setting or clearing this bit. this feature is used primarily during loopback mode. rst assert scsi rst/ signal 3 setting this bit asserts the srst/ signal. the srst/ output remains asserted until this bit is cleared. the 25 m s minimum assertion time de?ned in the scsi speci?cation must be timed out by the controlling microprocessor or a scripts loop. aesp assert even scsi parity (force bad parity) 2 when this bit is set, the lsi53C810a asserts even parity. it forces a scsi parity error on each byte sent to the scsi bus from the lsi53C810a. if parity checking is enabled, then the lsi53C810a checks data received for odd parity. this bit is used for diagnostic testing and is cleared for normal operation. it is useful to generate parity errors to test error handling functions. iarb immediate arbitration 1 setting this bit causes the scsi core to immediately begin arbitration once a bus free phase is detected following an expected scsi disconnect. this bit is useful for multithreaded applications. the arb[1:0] bits in scsi control zero (scntl0) register are set for full arbitration and selection before setting this bit. arbitration is retried until won. at that point, the lsi53C810a holds bsy and sel asserted, and waits for a select or reselect sequence. the immediate arbitration
5-8 operating registers bit is cleared automatically when the selection or reselection sequence is completed, or times out. interrupts do not occur until after this bit is reset. an unexpected disconnect condition clears iarb without it attempting arbitration. see the scsi disconnect unexpected bit ( scsi control two (scntl2) , bit 7) for more information on expected versus unexpected disconnects. it is possible to abort an immediate arbitration sequence. first, set the abort bit in the interrupt status (istat) register. then one of two things eventually happens: the won arbitration bit ( scsi status zero (sstat0) bit 2) will be set. in this case, the immediate arbitration bit needs to be cleared. this completes the abort sequence and disconnects the lsi53C810a from the scsi bus. if it is not acceptable to go to bus free phase immediately following the arbitration phase, it is possible to perform a low level selection instead. the abort completes because the lsi53C810a loses arbitration. this is detected by clearing the immediate arbitration bit. do not use the lost arbitration bit ( scsi status zero (sstat0) bit 3) to detect this condition. in this case take no further action. sst start scsi transfer 0 this bit is automatically set during scripts execution, and should not be used. it causes the scsi core to begin a scsi transfer, including sreq/sack handshaking. the determination of whether the transfer is a send or receive is made according to the value written to the i/o bit in scsi output control latch (socl) . this bit is self-clearing. do not set it for low level operation. note: writing to this register while not connected may cause the loss of a selection/reselection by clearing the connected bit.
5-9 register: 0x02 (0x82) scsi control two (scntl2) read/write sdu scsi disconnect unexpected 7 this bit is valid in the initiator mode only. when this bit is set, the scsi core is not expecting the scsi bus to enter the bus free phase. if it does, an unexpected disconnect error is generated (see the unexpected disconnect bit in the scsi interrupt status zero (sist0) register, bit 2). during normal scripts mode operation, this bit is set automatically whenever the scsi core is reselected, or successfully selects another scsi device. the sdu bit should be cleared with a register write (move 0x07 and scntl2 to scntl2) before the scsi core expects a disconnect to occur, normally prior to sending an abort, abort tag, bus device reset, clear queue or release recovery message, or before deasserting sack/ after receiving a disconnect command or command complete message. r reserved [6:0] register: 0x03 (0x83) scsi control three (scntl3) read/write r reserved 7 scf[2:0] synchronous clock conversion factor [6:4] these bits select the factor by which the frequency of sclk is divided before being presented to the synchronous scsi control logic. the bit encoding is displayed in table 5.1 . for synchronous receive, the output of this divider is always divided by 4 and that value 76 0 sdu r 0 x x x x x x x 76 432 0 r scf[2:0] r ccf[2:0] 0000 x000
5-10 operating registers determines the transfer rate. for example, if sclk is 40 mhz and the scf value is set to divide by one, then the maximum synchronous receive rate is 10 mbytes/s ((40/1) /4 = 10). for synchronous send, the output of this divider gets divided by the transfer period (xferp) bits in the scsi transfer (sxfer) register, and that value determines the transfer rate. for valid combinations of the scf and xferp, see table 5.2 . note: for additional information on how the synchronous transfer rate is determined, section 2.6.3, synchronous operation, page 2-13 . r reserved 3 ccf[2:0] clock conversion factor [2:0] these bits select the frequency of the sclk for asynchronous scsi operations. the bit encoding is displayed in table 5.2 . all other combinations are reserved. table 5.1 synchronous clock conversion factor scf2 scf1 scf0 factor frequency 0 0 0 sclk/3 0 0 1 sclk/1 0 1 0 sclk/1.5 0 1 1 sclk/2 1 0 0 sclk/3 1 0 1 reserved 1 1 0 reserved 1 1 1 reserved
5-11 register: 0x04 (0x84) scsi chip id (scid) read/write r reserved 7 rre enable response to reselection 6 when this bit is set, the lsi53C810a is enabled to respond to bus-initiated reselection at the chip id in the response id (respid) register. note that the lsi53C810a does not automatically recon?gure itself to initiator mode as a result of being reselected. sre enable response to selection 5 when this bit is set, the lsi53C810a is able to respond to bus-initiated selection at the chip id in the response id (respid) register. note that the lsi53C810a does not automatically recon?gure itself to target mode as a result of being selected. table 5.2 asynchronous clock conversion factor ccf2 ccf1 ccf0 scsi clock (mhz) 0 0 0 50.01C66.00 0 0 1 16.67C25.00 0 1 0 25.01C37.50 0 1 1 37.51C50.00 1 0 0 50.01C66.00 1 0 1 reserved 1 1 0 reserved 1 1 1 reserved 765432 0 r rre sre r enc[2:0] x00 0 x000
5-12 operating registers r reserved [4:3] enc[2:0] encoded lsi53C810a chip scsi id [2:0] these bits are used to store the lsi53C810a encoded scsi id. this is the id which the chip asserts when arbitrating for the scsi bus. the ids that the lsi53C810a responds to when being selected or reselected are con?gured in the response id (respid) register. the priority of the 8 possible ids, in descending order is: register: 0x05 (0x85) scsi transfer (sxfer) read/write when using table indirect i/o commands, bits [7:0] of this register are loaded from the i/o data structure. note: for additional information on how the synchronous transfer rate is determined, refer to chapter 2, functional descrip- tion. tp[2:0] scsi synchronous transfer period [7:5] these bits determine the scsi synchronous transfer period (xferp) used by the lsi53C810a when sending synchronous scsi data in either the initiator or target mode. these bits control the programmable dividers in the chip. highest lowest 76543210 7 543 0 tp[2:0] r mo[3:0] 000 x0000
5-13 use the following formula to calculate the synchronous send and receive rates. table 5.3 and table 5.4 show examples of possible bit combinations. synchronous send rate = (sclk/scf)/xferp synchronous receive rate = (sclk/scf) /4 where: tp2 tp1 tp0 xferp 0004 0015 0106 0117 1008 1019 11010 11111 sclk scsi clock scf synchronous clock conversion factor, scntl3 register, bits [6:4] xferp transfer period, sxfer register, bits [7:5] table 5.3 examples of synchronous transfer periods and rates for scsi-1 sclk (mhz) scf ? scntl3 bits [6:4] xferp sxfer bits [7:5] synch. send rate (mbytes/s) synch. send period (ns) synch. receive rate (mbytes/s) synch. receive period (ns) 66.67 3 4 5.55 180 5.55 180 66.67 3 5 4.44 225 5.55 180 50 2 4 6.25 160 6.25 160 50 2 5 5 200 6.25 160
5-14 operating registers r reserved 4 mo[3:0] max scsi synchronous offset [3:0] these bits describe the maximum scsi synchronous offset used by the lsi53C810a when transferring synchronous scsi data in either the initiator or target mode. table 5.5 describes the possible combinations and their relationship to the synchronous data offset used by 40 2 4 5 200 5 200 37.50 1.5 4 6.25 160 6.25 160 33.33 1.5 4 5.55 180 5.55 180 25 1 4 6.25 160 6.25 160 20 1 4 5 200 5 200 16.67 1 4 4.17 240 4.17 240 table 5.3 examples of synchronous transfer periods and rates for scsi-1 (cont.) sclk (mhz) scf ? scntl3 bits [6:4] xferp sxfer bits [7:5] synch. send rate (mbytes/s) synch. send period (ns) synch. receive rate (mbytes/s) synch. receive period (ns) table 5.4 examples of synchronous transfer periods and rates for fast scsi sclk (mhz) scf ? scntl3 bits [6:4] xferp sxfer bits [7:5] synch. send rate (mbytes/s) synch. send period (ns) synch. receive rate (mbytes) synch. receive period (ns) 66.67 1.5 4 11.11 90 11.11 90 66.67 1 5 8.88 112.5 11.11 90 50 1 4 12.5 80 12.5 80 50 1 5 10 100 12.5 80 40 1 4 10 100 10.0 100 37.50 1 4 9.375 106.67 9.35 106.67 33.33 1 4 8.33 120 8.33 120 25 1 4 6.25 160 6.25 160 20 1 4 5 200 5 200 16.67 1 4 4.17 240 4.17 240
5-15 the lsi53C810a. these bits determine the lsi53C810as method of transfer for data-in and data-out phases only; all other information transfers occur asynchronously. register: 0x06 (0x86) scsi destination id (sdid) read/write r reserved [7:3] enc[2:0] encoded destination scsi id [2:0] writing these bits sets the scsi id of the intended initiator or target during scsi reselection or selection phases, respectively. when executing scripts, the scripts processor writes the destination scsi id to this register. the scsi id is de?ned by the user in a scripts select or reselect instruction. the value written should be the binary-encoded id value. the priority of the 8 possible ids, in descending order, is: table 5.5 scsi synchronous offset values mo3 mo2 mo1 mo0 synchronous offset 0 0 0 0 0-asynchronous 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1 x x 1 reserved 1 x 1 x reserved 1 1 x x reserved 7320 r enc[3:0] x x x x x000 highest lowest 76543210
5-16 operating registers register: 0x07 (0x87) general purpose (gpreg) read/write r reserved [7:2] gpio[1:0] general purpose [1:0] these bits are programmed through the general purpose pin control (gpcntl) register as inputs, outputs, or to perform special functions. these signals can also be programmed as live inputs and sensed through a scripts register to register move instruction. gpio[1:0] default as inputs. when con?gured as inputs, an internal pull-up is enabled. lsi logic sdms software uses the gpio 0 pin to toggle scsi device leds, turning on the led whenever the lsi53C810a is connected to the scsi bus. sdms software drives this pin low to turn on the led, or drives it high to turn off the led. the gpio[1:0] pins are used in sdms software to access serial nvram. when used for accessing serial nvram, gpio 1 is used as a clock with the gpio 0 pin serving as data. 7 210 r gpio[1:0] x x x x x x00
5-17 register: 0x08 (0x88) scsi first byte received (sfbr) read/write this register contains the ?rst byte received in any asynchronous information transfer phase. for example, when the a lsi53C810a is operating in initiator mode, this register contains the ?rst byte received in message-in, status phase, reserved-in and data-in. when a block move instruction is executed for a particular phase, the ?rst byte received is stored in this register, even if the present phase is the same as the last phase. the ?rst byte received value for a particular input phase is not valid until after a move instruction is executed. this register is also the accumulator for register read-modify-writes with the scsi first byte received (sfbr) as the destination. this allows bit testing after an operation. the scsi first byte received (sfbr) cannot be written using the cpu, and therefore not by a memory move. additionally, the load instruction cannot be used to write to this register. however, it can be loaded using scripts read/write operations. to load the scsi first byte received (sfbr) with a byte stored in system memory, the byte must ?rst be moved to an intermediate lsi53C810a register (such as the scratch register), and then to the scsi first byte received (sfbr) . this register also contains the state of the lower eight bits of the scsi data bus during the selection phase if the com bit in the dma control (dcntl) register is clear. 7 0 ib 00000000
5-18 operating registers register: 0x09 (0x89) scsi output control latch (socl) read/write req assert scsi req/ signal 7 ack assert scsi ack/ signal 6 bsy assert scsi bsy/ signal 5 sel assert scsi sel/ signal 4 atn assert scsi atn/ signal 3 msg assert scsi msg/ signal 2 c/d assert scsi c_d/ signal 1 i/o assert scsi i_o/ signal 0 this register is used primarily for diagnostic testing or programmed i/o operation. it is controlled by the scripts processor when executing scsi scripts. scsi output control latch (socl) is used only when transferring data using programmed i/o. some bits are set (1) or cleared (0) when executing scsi scripts. do not write to the register once the lsi53C810a starts executing normal scsi scripts. 76543210 req ack bsy sel atn msg c/d i/o 00000000
5-19 register: 0x0a (0x8a) scsi selector id (ssid) read only val scsi valid bit 7 if val is asserted, then the two scsi ids are detected on the bus during a bus-initiated selection or reselection, and the encoded destination scsi id bits below are valid. if val is deasserted, only one id is present and the contents of the encoded destination id are meaningless. r reserved [6:3] enid[2:0] encoded destination scsi id [2:0] reading the ssid register immediately after the lsi53C810a has been selected or reselected returns the binary-encoded scsi id of the device that performed the operation. these bits are invalid for targets that are selected under the single initiator option of the scsi-1 speci?cation. this condition can be detected by examining the val bit above. 76 32 0 val r enid[2:0] 0 x x x x000
5-20 operating registers register: 0x0b (0x8b) scsi bus control lines (sbcl) read only req sreq/ status 7 ack sack/ status 6 bsy sbsy/ status 5 sel ssel/ status 4 atn satn/ status 3 msg smsg/ status 2 c/d sc_d/ status 1 i/o si_o/ status 0 this register returns the scsi control line status. a bit is set when the corresponding scsi control line is asserted. these bits are not latched; they are a true representation of what is on the scsi bus at the time the register is read. the resulting read data is synchronized before being presented to the pci bus to prevent parity errors from being passed to the system. this register is used for diagnostics testing or operation in low level mode. register: 0x0c (0x8c) dma status (dstat) read only reading this register clears any bits that are set at the time the register is read, but does not necessarily clear the register in case additional interrupts are pending (the lsi53C810a stacks interrupts). the dip bit 76543210 req ack bsy sel atn msg c/d i/o xxxxxxxx 76543210 dfe mdpe bf abrt ssi sir r iid 100000 x0
5-21 in the interrupt status (istat) register is also cleared. it is possible to mask dma interrupt conditions individually through the dma interrupt enable (dien) register. when performing consecutive 8-bit reads of the dma status (dstat) , scsi interrupt status zero (sist0) and scsi interrupt status one (sist1) registers (in any order), insert a delay equivalent to 12 clk periods between the reads to ensure that the interrupts clear properly. see chapter 2, functional description, for more information on interrupts. dfe dma fifo empty 7 this status bit is set when the dma fifo is empty. it is possible to use it to determine if any data resides in the fifo when an error occurs and an interrupt is generated. this bit is a pure status bit and does not cause an interrupt. mdpe master data parity error 6 this bit is set when the lsi53C810a as a master detects a data parity error, or a target device signals a parity error during a data phase. this bit is completely disabled by the master parity error enable bit (bit 3 of chip test four (ctest4) ). bf bus fault 5 this bit is set when a pci bus fault condition is detected. a pci bus fault can only occur when the lsi53C810a is bus master, and is de?ned as a cycle that ends with a bad address or target abort condition. abrt aborted 4 this bit is set when an abort condition occurs. an abort condition occurs when a software abort command is issued by setting bit 7 of the interrupt status (istat) register. ssi single step interrupt 3 if the single step mode bit in the dma control (dcntl) register is set, this bit is set and an interrupt is generated after successful execution of each scripts instruction. sir scripts interrupt instruction received 2 this status bit is set whenever an interrupt instruction is evaluated as true.
5-22 operating registers r reserved 1 iid illegal instruction detected 0 this status bit is set any time an illegal instruction is detected, whether the lsi53C810a is operating in single step mode or automatically executing scsi scripts. any of the following conditions during instruction execution also set this bit: the lsi53C810a is executing a wait disconnect instruction and the scsi req line is asserted without a disconnect occurring. a move, chained move, or memory move command with a byte count of zero is fetched. a load/store memory address maps back into chip register space. register: 0x0d (0x8d) scsi status zero (sstat0) read only ilf sidl full 7 this bit is set when the scsi input data latch (sidl) register contains data. data is transferred from the scsi bus to the scsi input data latch register before being sent to the dma fifo and then to the host bus. the scsi input data latch (sidl) register contains scsi data received asynchronously. synchronous data received does not ?ow through this register. orf sodr full 6 this bit is set when the scsi output data register (sodr, a hidden buffer register which is not accessible) contains data. the sodr register is used by the scsi logic as a second storage register when sending data synchronously. it is not readable or writable by the user. it is possible to use this bit to determine how many bytes reside in the chip when an error occurs. 76543210 ilf orf olf aip loa woa rst/ sdp/ 00000000
5-23 olf sodl full 5 this bit is set when scsi output data latch (sodl) contains data. the scsi output data latch (sodl) register is the interface between the dma logic and the scsi bus. in synchronous mode, data is transferred from the host bus to the scsi output data latch (sodl) register, and then to the scsi output data register (sodr, a hidden buffer register which is not accessible) before being sent to the scsi bus. in asynchronous mode, data is transferred from the host bus to the scsi output data latch (sodl) register, and then to the scsi bus. the sodr buffer register is not used for asynchronous transfers. it is possible to use this bit to determine how many bytes reside in the chip when an error occurs. aip arbitration in progress 4 arbitration in progress (aip = 1) indicates that the lsi53C810a has detected a bus free condition, asserted bsy, and asserted its scsi id onto the scsi bus. loa lost arbitration 3 when set, loa indicates that the lsi53C810a has detected a bus free condition, arbitrated for the scsi bus, and lost arbitration due to another scsi device asserting the sel/ signal. woa won arbitration 2 when set, woa indicates that the lsi53C810a has detected a bus free condition, arbitrated for the scsi bus and won arbitration. the arbitration mode selected in the scsi control zero (scntl0) register must be full arbitration and selection for this bit to be set. rst/ scsi rst/ signal 1 this bit reports the current status of the scsi rst/ signal, and the srst signal (bit 6) in the interrupt status (istat) register. sdp/ scsi sdp/ parity signal 0 this bit represents the active high current status of the scsi sdp/ parity signal.
5-24 operating registers register: 0x0e (0x8e) scsi status one (sstat1) read only ff[3:0] fifo flags [7:4] these four bits de?ne the number of bytes that currently reside in the lsi53C810as scsi synchronous data fifo. these bits are not latched and they will change as data moves through the fifo. the fifo can hold up to 9 bytes. values over nine will not occur. [ sdpl latched scsi parity 3 this bit re?ects the scsi parity signal (sdp/), corresponding to the data latched in the scsi input data latch (sidl) . it changes when a new byte is latched into the scsi input data latch (sidl) register. this bit is active high, in other words, it is set when the parity signal is active. 7 43210 ff[3:0] sdpl msg c/d i/o 0000xxxx ff3 ff2 ff1 ff0 bytes or words in the scsi fifo 0000 0 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9
5-25 msg scsi msg/ signal 2 c/d scsi c_d/ signal 1 i/o scsi i_o/ signal 0 these three scsi phase status bits (msg, c/d, and i/o) are latched on the asserting edge of sreq/ when operating in either initiator or target mode. these bits are set when the corresponding signal is active. they are useful when operating in the low level mode. register: 0x0f (0x8f) scsi status two (sstat2) read only r reserved [7:2] ldsc last disconnect 1 this bit is used in conjunction with the connected (con) bit in scsi control one (scntl1) . it allows the user to detect the case in which a target device disconnects, and then some scsi device selects or reselects the lsi53C810a. if the connected bit is asserted and the ldsc bit is asserted, a disconnect is indicated. this bit is set when the connected bit in scsi control one (scntl1) is cleared. this bit is cleared when a block move instruction is executed while the connected bit in scsi control one (scntl1) is on. r reserved 0 7 210 r ldsc r x x x x x x1 x
5-26 operating registers registers: 0x10C0x13 (0x90C0x93) data structure address (dsa) read/write dsa data structure address [31:0] this 32-bit register contains the base address used for all table indirect calculations. the dsa register is usually loaded prior to starting an i/o, but it is possible for a scripts memory move to load the dsa during the i/o. during any memory-to-memory move operation, the contents of this register are preserved. the power-up value of this register is indeterminate. register: 0x14 (0x94) interrupt status (istat) read/write this register is accessible by the host cpu while a lsi53C810a is executing scripts (without interfering in the operation of the function). it is used to poll for interrupts if hardware interrupts are disabled. read this register after servicing an interrupt to check for stacked interrupts. for more information on interrupt handling refer to chapter 2, functional description. abrt abort operation 7 setting this bit aborts the current operation being executed by the lsi53C810a. if this bit is set and an interrupt is received, clear this bit before reading the dma status (dstat) register to prevent further aborted interrupts from being generated. the sequence to abort any operation is: 1. set this bit. 2. wait for an interrupt. 31 0 dsa[31:0] 00000000000000000000000000000000 76543210 abrt srst sigp sem con intf sip dip 00000000
5-27 3. read the interrupt status (istat) register. 4. if the scsi interrupt pending bit is set, then read the scsi interrupt status zero (sist0) or scsi interrupt status one (sist1) register to determine the cause of the scsi interrupt and go back to step 2. 5. if the scsi interrupt pending bit is clear, and the dma interrupt pending bit is set, then write 0x00 value to this register. 6. read the dma status (dstat) register to verify the aborted interrupt and to see if any other interrupting conditions have occurred. srst software reset 6 setting this bit resets the lsi53C810a. all operating registers are cleared to their respective default values and all scsi signals are deasserted. setting this bit does not assert the scsi rst/ signal. this reset does not clear the lsi53c700 family compatibility bit or any of the pci con?guration registers. this bit is not self-clearing; it must be cleared to clear the reset condition (a hardware reset also clears this bit). sigp signal process 5 sigp is a r/w bit that is writable at any time, and polled and reset using chip test two (ctest2) . the sigp bit is used in various ways to pass a ?ag to or from a running scripts instruction. the only scripts instruction directly affected by the sigp bit is wait for selection/reselection. setting this bit causes that instruction to jump to the alternate address immediately. the instructions at the alternate jump address should check the status of sigp to determine the cause of the jump. the sigp bit may be used at any time and is not restricted to the wait for selection/ reselection condition. sem semaphore 4 the scripts processor may set this bit using a scripts register write instruction. an external processor may also set it while the lsi53C810a is executing a scripts operation. this bit enables the lsi53C810a to notify an external processor of a prede?ned condition while scripts are running. the external processor may
5-28 operating registers also notify the lsi53C810a of a prede?ned condition and the scripts processor may take action while scripts are executing. con connected 3 this bit is automatically set any time the lsi53C810a is connected to the scsi bus as an initiator or as a target. it is set after successfully completing selection or when the lsi53C810a responds to a bus-initiated selection or reselection. it is also set after the lsi53C810a wins arbitration when operating in low level mode. when this bit is clear, the lsi53C810a is not connected to the scsi bus. intf interrupt-on-the-fly 2 this bit is asserted by an intfly instruction during scripts execution. scripts programs do not halt when the interrupt occurs. this bit can be used to notify a service routine, running on the main processor while the scripts processor is still executing a scripts program. if this bit is set when the interrupt status (istat) register is read it is not automatically cleared. to clear this bit, write it to a one. the reset operation is self-clearing. note: if the intf bit is set but sip or dip is not set, do not attempt to read the other chip status registers. an interrupt-on-the-fly interrupt must be cleared before servicing any other interrupts indicated by sip or dip. this bit must be written to one in order to clear it after it has been set. sip scsi interrupt pending 1 this status bit is set when an interrupt condition is detected in the scsi portion of the lsi53C810a. the following conditions cause a scsi interrupt to occur: a phase mismatch (initiator mode) or satn/ becomes active (target mode) an arbitration sequence completes a selection or reselection time-out occurs the lsi53C810a is selected the lsi53C810a is reselected
5-29 a scsi gross error occurs an unexpected disconnect occurs a scsi reset occurs a parity error is detected the handshake-to-handshake timer is expired the general purpose timer is expired to determine exactly which condition(s) caused the interrupt, read the scsi interrupt status zero (sist0) and scsi interrupt status one (sist1) registers. dip dma interrupt pending 0 this status bit is set when an interrupt condition is detected in the dma portion of the lsi53C810a. the following conditions cause a dma interrupt to occur: a pci parity error is detected a bus fault is detected an abort condition is detected a scripts instruction is executed in single step mode a scripts interrupt instruction is executed an illegal instruction is detected to determine exactly which condition(s) caused the interrupt, read the dma status (dstat) register. register: 0x18 (0x98) chip test zero (ctest0) read/write fmt byte empty in dma fifo [7:0] this was a general purpose read/write register in previous lsi53c8xx family chips. although it is still a read/write register, lsi logic reserves the right to use these bits for future lsi53c8xx family enhancements. 7 0 fmt 11111111
5-30 operating registers register: 0x19 (0x99) chip test one (ctest1) read only fmt[3:0] byte empty in dma fifo [7:4] these bits identify the bottom bytes in the dma fifo that are empty. each bit corresponds to a byte lane in the dma fifo. for example, if byte lane three is empty, then fmt3 will be set. since the fmt ?ags indicate the status of bytes at the bottom of the fifo, if all fmt bits are set, the dma fifo is empty. ffl[3:0] byte full in dma fifo [3:0] these status bits identify the top bytes in the dma fifo that are full. each bit corresponds to a byte lane in the dma fifo. for example, if byte lane three is full then ffl3 is set. since the ffl ?ags indicate the status of bytes at the top of the fifo, if all ffl bits are set, the dma fifo is full. register: 0x1a (0x9a) chip test two (ctest2) read only ddir data transfer direction 7 this status bit indicates which direction data is being transferred. when this bit is set, the data will be transferred from the scsi bus to the host bus. when this bit is clear, the data is transferred from the host bus to the scsi bus. 7430 fmt[3:0] ffl[3:0] 11110000 76543210 ddir sigp cio cm r teop dreq dack 00xx 0001
5-31 sigp signal process 6 this bit is a copy of the sigp bit in the interrupt status (istat) register (bit 5). the sigp bit is used to signal a running scripts instruction. when this register is read, the sigp bit in the interrupt status (istat) register is cleared. cio con?gured as i/o 5 this bit is de?ned as the con?guration i/o enable status bit. this read only bit indicates if the chip is currently enabled as i/o space. note: both bits 4 and 5 may be set if the chip is dual-mapped. cm con?gured as memory 4 this bit is de?ned as the con?guration memory enable status bit. this read only bit indicates if the chip is currently enabled as memory space. note: both bits 4 and 5 may be set if the chip is dual-mapped. r reserved 3 teop scsi true end of process 2 this bit indicates the status of the lsi53C810as internal teop signal. the teop signal acknowledges the completion of a transfer through the scsi portion of the lsi53C810a. when this bit is set, teop is active. when this bit is clear, teop is inactive. dreq data request status 1 this bit indicates the status of the lsi53C810as internal data request signal (dreq). when this bit is set, dreq is active. when this bit is clear, dreq is inactive. dack data acknowledge status 0 this bit indicates the status of the lsi53C810as internal data acknowledge signal (dack/). when this bit is set, dack/ is inactive. when this bit is clear, dack/ is active.
5-32 operating registers register: 0x1b (0x9b) chip test three (ctest3) read/write v[3:0] chip revision level [7:4] these bits identify the chip revision level for software purposes. flf flush dma fifo 3 when this bit is set, data residing in the dma fifo is transferred to memory, starting at the address in the dma next address (dnad) register. the internal dmawr signal, controlled by the chip test five (ctest5) register, determines the direction of the transfer. this bit is not self-clearing; clear it once the data is successfully transferred by the lsi53C810a. note: polling of fifo ?ags is allowed during ?ush operations. clf clear dma fifo 2 when this bit is set, all data pointers for the dma fifo are cleared. any data in the fifo is lost. after the lsi53C810a successfully clears the appropriate fifo points and registers, this bit automatically clears. note: this bit does not clear the data visible at the bottom of the fifo. fm fetch pin mode 1 when set, this bit causes the fetch/ pin to deassert during indirect and table indirect read operations. fetch/ is only active during the opcode portion of an instruction fetch. this allows the storage of scripts in a prom while data tables are stored in ram. if this bit is not set, fetch/ is asserted for all bus cycles during instruction fetches. 7 43210 v[3:0] flf clf fm wrie xxxx0000
5-33 wrie write and invalidate enable 0 this bit, when set, causes issuing of memory write and invalidate commands on the pci bus whenever legal. these conditions are described in more detail in chapter 3, pci functional description. registers: 0x1cC0x1f (0x9cC0x9f) temporary (temp) read/write temp temporary [31:0] this 32-bit register stores the return instruction address pointer from the call instruction. the address pointer stored in this register is loaded into the dma scripts pointer (dsp) register when a return instruction is executed. this address points to the next instruction to execute. do not write to this register while the lsi53C810a is executing scripts. during any memory-to-memory move operation, the contents of this register are preserved. the power-up value of this register is indeterminate. register: 0x20 (0xa0) dma fifo (dfifo) read/write r reserved 7 bo[6:0] byte offset counter [6:0] these bits indicate the amount of data transferred between the scsi core and the dma core. it may be used to determine the number of bytes in the dma fifo 31 0 temp xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 7 0 r bo[6:0] x0000000
5-34 operating registers when an interrupt occurs. these bits are unstable while data is being transferred between the two cores; once the chip has stopped transferring data, these bits are stable. the dma fifo (dfifo) register counts the number of bytes transferred between the dma core and the scsi core. the dma byte counter (dbc) register counts the number of bytes transferred across the host bus. the difference between these two counters represents the number of bytes remaining in the dma fifo. the following steps determine how many bytes are left in the dma fifo when an error occurs, regardless of the transfer direction: 1. subtract the seven least signi?cant bits of the dma byte counter (dbc) register from the 7-bit value of the dma fifo (dfifo) register. 2. and the result with 0x7f for a byte count between zero and 64. note: to calculate the total number of bytes in both the dma fifo and scsi logic, see section 2.5.1.1, data paths, in chapter 2, functional description. register: 0x21 (0xa1) chip test four (ctest4) read/write bdis burst disable 7 when set, this bit causes the lsi53C810a to perform back-to-back cycles for all transfers. when this bit is cleared, back-to-back transfers for opcode fetches and burst transfers for data moves are performed. the handling of opcode fetches is dependent on the setting of the burst opcode fetch bit in the dma mode (dmode) register. 765432 0 bdis zmod zsd srtm mpee fbl[2:0] 00000000
5-35 zmod high impedance mode 6 setting this bit causes the lsi53C810a to place all output and bidirectional pins into a high impedance state. in order to read data out of the lsi53C810a, clear this bit. this bit is intended for board-level testing only. do not set this bit during normal system operation. zsd scsi data high impedance 5 setting this bit causes the lsi53C810a to place the scsi data bus sd[7:0] and the parity line (sdp) in a high impedance state. in order to transfer data on the scsi bus, clear this bit. srtm shadow register test mode 4 setting this bit allows access to the shadow registers used by memory-to-memory move operations. when this bit is set, register accesses to the temporary (temp) and data structure address (dsa) registers are directed to the shadow copies stemp (shadow temp) and sdsa (shadow dsa). the registers are shadowed to prevent them from being overwritten during a memory-to-memory move operation. the dsa and temporary (temp) registers contain the base address used for table indirect calculations, and the address pointer for a call or return instruction, respectively. this bit is intended for manufacturing diagnostics only and should not be set during normal operations. mpee master parity error enable 3 setting this bit enables parity checking during master data phases. a parity error during a bus master read is detected by the lsi53C810a. a parity error during a bus master write is detected by the target, and the lsi53C810a is informed of the error by the perr/ pin being asserted by the target. when this bit is cleared, the lsi53C810a does not interrupt if a master parity error occurs. this bit is cleared at power-up.
5-36 operating registers fbl[2:0] fifo byte control [2:0] these bits steer the contents of the chip test six (ctest6) register to the appropriate byte lane of the 32-bit dma fifo. if the fbl2 bit is set, then fbl1 and fbl0 determine which of four byte lanes can be read or written. when cleared, the byte lane read or written is determined by the current contents of the dma next address (dnad) and dma byte counter (dbc) registers. each of the four bytes that make up the 32-bit dma fifo is accessed by writing these bits to the proper value. for normal operation, fbl2 must equal zero. register: 0x22 (0xa2) chip test five (ctest5) read/write adck clock address incrementor 7 setting this bit increments the address pointer contained in the dma next address (dnad) register. the dma next address (dnad) register is incremented based on the dnad contents and the current dma byte counter (dbc) value. this bit automatically clears itself after incrementing the dma next address (dnad) register. bbck clock byte counter 6 setting this bit decrements the byte count contained in the 24-bit dma byte counter (dbc) register. it is decremented based on the dma byte counter (dbc) fbl2 fbl1 fbl0 dma fifo byte lane pins x x x disabled n/a 0 0 0 0 d[7:0] 0 0 1 1 d[15:8] 0 1 0 2 d[23:16] 0 1 1 3 d[31:24] 765432 0 adck bbck r masr ddir r 00 x00 x x x
5-37 contents and the current dnad value. this bit automatically clears itself after decrementing the dma byte counter (dbc) register. r reserved 5 masr master control for set or reset pulses 4 this bit controls the operation of bit 3. when this bit is set, bit 3 asserts the corresponding signals. when this bit is cleared, bit 3 deasserts the corresponding signals. do not change this bit and bit 3 in the same write cycle. ddir dma direction 3 setting this bit either asserts or deasserts the internal dma write (dmawr) direction signal depending on the current status of the masr bit in this register. asserting the dmawr signal indicates that data is transferred from the scsi bus to the host bus. deasserting the dmawr signal transfers data from the host bus to the scsi bus. r reserved [2:0] register: 0x23 (0xa3) chip test six (ctest6) read/write df dma fifo [7:0] writing to this register writes data to the appropriate byte lane of the dma fifo as determined by the fbl bits in the chip test four (ctest4) register. reading this register unloads data from the appropriate byte lane of the dma fifo as determined by the fbl bits in the chip test four (ctest4) register. data written to the fifo is loaded into the top of the fifo. data read out of the fifo is taken from the bottom. to prevent dma data from being corrupted, this register should not be accessed before starting or restarting scripts operation. write this register only when testing the dma fifo using the 7 0 df 00000000
5-38 operating registers chip test four (ctest4) register. writes to this register while the test mode is not enabled produces unexpected results. registers: 0x24C0x26 (0xa4C0xa6) dma byte counter (dbc) read/write dbc dma byte counter [23:0] this 24-bit register determines the number of bytes transferred in a block move instruction. while sending data to the scsi bus, the counter is decremented as data is moved into the dma fifo from memory. while receiving data from the scsi bus, the counter is decremented as data is written to memory from the lsi53C810a. the dma byte counter (dbc) counter is decremented each time that data is transferred on the pci bus. it is decremented by an amount equal to the number of bytes that are transferred. the maximum number of bytes that can be transferred in any one block move command is 16,777,215 bytes. the maximum value that can be loaded into the dma byte counter (dbc) register is 0xffffff. if the instruction is a block move and a value of 0x000000 is loaded into the dma byte counter (dbc) register, an illegal instruction interrupt occurs if the lsi53C810a is not in target mode, command phase. the dma byte counter (dbc) register is also used to hold the least signi?cant 24 bits of the ?rst dword of a scripts fetch, and to hold the offset value during table indirect i/o scripts. for a complete description, see chapter 6, instruction set of the i/o processor. the power-up value of this register is indeterminate. 23 0 dbc xxxxxxxxxxxxxxxxxxxxxxxx
5-39 register: 0x27 (0xa7) dma command (dcmd) read/write dcmd dma command [7:0] this 8-bit register determines the instruction for the lsi53C810a to execute. this register has a different format for each instruction. for a complete description, see chapter 6, instruction set of the i/o processor. registers: 0x28C0x2b (0xa8C0xab) dma next address (dnad) read/write dnad dma next address [31:0] this 32-bit register contains the general purpose address pointer. at the start of some scripts operations, its value is copied from the dma scripts pointer save (dsps) register. its value may not be valid except in certain abort conditions. the default value of this register is zero. registers: 0x2cC0x2f (0xacC0xaf) dma scripts pointer (dsp) read/write dsp dma scripts pointer [31:0] to execute scsi scripts, the address of the ?rst scripts instruction must be written to this register. in normal scripts operation, once the starting address of 7 0 dcmd xxxxxxxx 31 0 dnad 00000000000000000000000000000000 31 0 dsp 00000000000000000000000000000000
5-40 operating registers the ?rst scripts instruction is written to this register, scripts instructions are automatically fetched and executed until an interrupt condition occurs. in single step mode, there is a single step interrupt after each instruction is executed. the dma scripts pointer (dsp) register does not need to be written with the next address, but the start dma bit (bit 2, dma control (dcntl) register) must be set each time the step interrupt occurs to fetch and execute the next scripts command. when writing this register eight bits at a time, writing the upper eight bits begins execution of the scsi scripts. the default value of this register is zero. registers: 0x30C0x33 (0xb0C0xb3) dma scripts pointer save (dsps) read/write dsps dma scripts pointer save [31:0] this register contains the second dword of a scripts instruction. it is overwritten each time a scripts instruction is fetched. when a scripts interrupt instruction is executed, this register holds the interrupt vector. the power-up value of this register is indeterminate. 31 0 dsps xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
5-41 registers: 0x34C0x37 (0xb4C0xb7) scratch register a (scratcha) read/write scratcha scratch register a [31:0] this is a general purpose, user-de?nable scratch pad register. apart from cpu access, only register read/write and memory moves into the scratch register alter its contents. the power-up value of this register is indeterminate. the lsi53C810a cannot fetch scripts instructions from this location. register: 0x38 (0xb8) dma mode (dmode) read/write bl[1:0] burst length [7:6] these bits control the maximum number of transfers performed per bus ownership, regardless of whether the transfers are back-to-back, burst, or a combination of both. the lsi53C810a asserts the bus request (req/) output when the dma fifo can accommodate a transfer of at least one burst size of data. bus request (req/) is also asserted during start-of-transfer and end-of-transfer cleanup and alignment, even though less than a full burst of transfers is performed. the lsi53C810a inserts a fairness delay of four clks between burst-length transfers (as set in bl[1:0]) during normal operation. the fairness delay is not inserted during pci retry cycles. this gives the cpu and other bus master devices the opportunity to access the pci bus between bursts. 31 0 scratcha xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 76543210 bl[1:0] siom diom er ermp bof man 00000000
5-42 operating registers siom source i/o memory enable 5 this bit is de?ned as an i/o memory enable bit for the source address of a memory move or block move command. if this bit is set, then the source address is in i/o space; and if cleared, then the source address is in memory space. this function is useful for register-to-memory operations using the memory move instruction when the lsi53C810a is i/o mapped. bits 4 and 5 of the chip test two (ctest2) register are used to determine the con?guration status of the lsi53C810a. diom destination i/o memory enable 4 this bit is de?ned as an i/o memory enable bit for the destination address of a memory move or block move command. if this bit is set, then the destination address is in i/o space; and if cleared, then the destination address is in memory space. this function is useful for memory-to-register operations using the memory move instruction when the lsi53C810a is i/o mapped. bits 4 and 5 of the chip test two (ctest2) register are used to determine the con?guration status of the lsi53C810a. erl enable read line 3 this bit enables a pci read line command. if pci cache mode is enabled by setting bits in the pci cache line size register, the chip issues a read line command on all read cycles if other conditions are met. for more information on these conditions, refer to chapter 3, pci functional description. bl1 bl0 burst length 0 0 2-transfer burst 0 1 4-transfer burst 1 0 8-transfer burst 1 1 16-transfer burst
5-43 ermp enable read multiple 2 setting this bit causes read multiple commands to be issued on the pci bus after certain conditions have been met. these conditions are described in chapter 3, pci functional description. bof burst opcode fetch enable 1 setting this bit causes the lsi53C810a to fetch instructions in burst mode, if the burst disable bit ( chip test four (ctest4) , bit7) is cleared. speci?cally, the chip bursts in the ?rst two dwords of all instructions using a single bus ownership. if the instruction is a memory-to- memory move type, the third dword is accessed in a subsequent bus ownership. if the instruction is an indirect type, the additional dword is accessed in a subsequent bus ownership. if the instruction is a table indirect block move type, the chip accesses the remaining two dwords in a subsequent bus ownership, thereby fetching the four dwords required in two bursts of two dwords each. man manual start mode 0 setting this bit prevents the lsi53C810a from automatically fetching and executing scsi scripts when the dma scripts pointer (dsp) register is written. when this bit is set, the start dma bit in the dma control (dcntl) register must be set to begin scripts execution. clearing this bit causes the lsi53C810a to automatically begin fetching and executing scsi scripts when the dma scripts pointer (dsp) register is written. this bit normally is not used for scsi scripts operations.
5-44 operating registers register: 0x39 (0xb9) dma interrupt enable (dien) read/write this register contains the interrupt mask bits corresponding to the interrupting conditions described in the dma status (dstat) register. an interrupt is masked by clearing the appropriate mask bit. masking an interrupt prevents irq/ from being asserted for the corresponding interrupt, but the status bit is still set in the dma status (dstat) register. masking an interrupt does not prevent setting the istat dip. all dma interrupts are considered fatal, therefore scripts stops running when a dma interrupt occurs, whether or not the interrupt is masked. setting a mask bit enables the assertion of irq/ for the corresponding interrupt. (a masked nonfatal interrupt does not prevent unmasked or fatal interrupts from getting through; interrupt stacking begins when either the interrupt status (istat) sip or dip bit is set.) the irq/ output is latched. once asserted, it will remain asserted until the interrupt is cleared by reading the appropriate status register. masking an interrupt after the irq/ output is asserted does not cause deassertion of irq/. for more information on interrupts, see chapter 2, functional description. r reserved 7 mdpe master data parity error 6 bf bus fault 5 abrt aborted 4 ssi single step interrupt 3 sir scripts interrupt instruction received 2 r reserved 1 iid illegal instruction detected 0 76543210 r mdpe bf abrt ssi sir r iid x00000 x0
5-45 register: 0x3a (0xba) scratch byte register (sbr) read/write sbr scratch byte register [7:0] this is a general purpose register. apart from cpu access, only register read/write and memory moves into this register alters its contents. the default value of this register is zero. this register is called the dma watchdog timer on previous lsi53c8xx family products. register: 0x3b (0xbb) dma control (dcntl) read/write clse cache line size enable 7 setting this bit enables the lsi53C810a to sense and react to cache line boundaries set up by the dma mode (dmode) or pci cache line size register, whichever contains the smaller value. clearing this bit disables the cache line size logic and the lsi53C810a monitors the cache line size using the dma mode (dmode) register. pff prefetch flush 6 setting this bit will cause the prefetch unit to ?ush its contents. the bit clears after the ?ush is complete. pfen prefetch enable 5 setting this bit enables the prefetch unit if the burst size is equal to or greater than four. for more information on scripts instruction prefetching, see chapter 2, func- tional description. 7 0 sbr 00000000 76543210 clse pff pfen ssm irqm std irqd com 00000000
5-46 operating registers ssm single step mode 4 setting this bit causes the lsi53C810a to stop after executing each scripts instruction, and generate a single step interrupt. when this bit is cleared the lsi53C810a does not stop after each instruction. it continues fetching and executing instructions until an interrupt condition occurs. for normal scsi scripts operation, keep this bit clear. to restart the lsi53C810a after it generates a scripts step interrupt, read the interrupt status (istat) and dma status (dstat) registers to recognize and clear the interrupt. then set the start dma bit in this register. irqm irq mode 3 when set, this bit enables a totem pole driver for the irq pin. when reset, this bit enables an open drain driver for the irq pin with a internal weak pull-up. this bit is reset at power-up. std start dma operation 2 the lsi53C810a fetches a scsi scripts instruction from the address contained in the dma scripts pointer (dsp) register when this bit is set. this bit is required if the lsi53C810a is in one of the following modes: manual start mode C bit 0 in the dma mode (dmode) register is set single step mode C bit 4 in the dma control (dcntl) register is set when the lsi53C810a is executing scripts in manual start mode, the start dma bit needs to be set to start instruction fetches. this bit remains set until an interrupt occurs. when the lsi53C810a is in single step mode, set the start dma bit to restart execution of scripts after a single step interrupt. irqd irq disable 1 setting this bit 3-states the irq pin. clearing the bit enables normal operation. when bit 1 in this register is set, the irq/ pin is not asserted when an interrupt condition occurs. the interrupt is not lost or ignored, but merely masked at the pin. clearing this bit when an interrupt is pending immediately causes the irq/ pin to
5-47 assert. as with any register other than interrupt status (istat) , this register cannot be accessed except by a scripts instruction during scripts execution. com lsi53c700 family compatibility 0 when this bit is cleared, the lsi53C810a behaves in a manner compatible with the lsi53c700 family; selection/reselection ids are stored in both the scsi selector id (ssid) and scsi first byte received (sfbr) registers. when this bit is set, the id is stored in the scsi selector id (ssid) register, protecting the scsi first byte received (sfbr) from being overwritten if a selection/reselection occurs during a dma register-to-register operation. this bit is not affected by a software reset. register: 0x3cC0x3f (0xbcC0xbf) adder sum output (adder) read only adder adder sum output [31:0] this register contains the output of the internal adder, and is used primarily for test purposes. the power-up value for this register is indeterminate. 31 0 adder xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
5-48 operating registers register: 0x40 (0xc0) scsi interrupt enable zero (sien0) read/write this register contains the interrupt mask bits that correspond to the interrupting conditions described in the scsi interrupt status zero (sist0) register. an interrupt is masked by clearing the appropriate mask bit. for more information on interrupts, see chapter 2, functional description. m/a scsi phase mismatch - initiator mode; scsi atn condition - target mode 7 in the initiator mode, this bit is set when the scsi phase asserted by the target and sampled during sreq/ does not match the expected phase in the scsi output control latch (socl) register. this expected phase is automatically written by scsi scripts. in target mode, this bit is set when the initiator asserts satn/. see the disable halt on parity error or satn/ condition bit in the scsi control one (scntl1) register for more information on when this status is actually raised. cmp function complete 6 indicates full arbitration and selection sequence is completed. sel selected 5 indicates the lsi53C810a is selected by a scsi target device. set the enable response to selection bit in the scsi chip id (scid) register for this to occur. rsl reselected 4 indicates the lsi53C810a is reselected by a scsi initiator device. set the enable response to reselection bit in the scsi chip id (scid) register for this to occur. sge scsi gross error 3 this bit controls whether an interrupt occurs when the lsi53C810a detects a scsi gross error. the following conditions are considered scsi gross errors: 76543210 m/a cmp sel rsl sge udc rst par 00000000
5-49 data under?ow C reading the scsi fifo when no data was present. data over?ow C writing to the scsi fifo while it is full. offset under?ow C receiving a sack/ pulse in target mode before the corresponding sreq/ is sent. offset over?ow C receiving an sreq/ pulse in the initiator mode, and exceeding the maximum offset (de?ned by the mo[3:0] bits in the scsi transfer (sxfer) register). a phase change in the initiator mode, with an outstanding sreq/sack offset. residual data in scsi fifo C starting a transfer other than synchronous data receive with data left in the scsi synchronous receive fifo. udc unexpected disconnect 2 this bit controls whether an interrupt occurs in the case of an unexpected disconnect. this condition only occurs in initiator mode. it happens when the target to which the lsi53C810a is connected disconnects from the scsi bus unexpectedly. see the scsi disconnect unexpected bit in the scsi control two (scntl2) register for more information on expected versus unexpected disconnects. any disconnect in low level mode causes this condition. rst scsi reset condition 1 this bit controls whether an interrupt occurs when the srst/ signal is asserted by the lsi53C810a or any other scsi device. note that this condition is edge-triggered, so that multiple interrupts cannot occur because of a single srst/ pulse. par scsi parity error 0 this bit controls whether an interrupt occurs when the lsi53C810a detects a parity error while receiving or sending scsi data. see the disable halt on parity error or satn/ condition bits in the scsi control one (scntl1) register for more information on when this condition is actually raised.
5-50 operating registers register: 0x41 (0xc1) scsi interrupt enable one (sien1) read/write this register contains the interrupt mask bits corresponding to the interrupting conditions described in the scsi interrupt status one (sist1) register. an interrupt is masked by clearing the appropriate mask bit. for more information on interrupts, refer to chapter 2, functional description. r reserved [7:3] sto selection or reselection time-out 2 this bit controls whether an interrupt occurs when the scsi device which the lsi53C810a was attempting to select or reselect did not respond within the programmed time-out period. see the description of the scsi timer zero (stime0) register bits [3:0] for more information on the time-out timer. gen general purpose timer expired 1 this bit controls whether an interrupt occurs when the general purpose timer is expired. the time measured is the time between enabling and disabling of the timer. see the description of the scsi timer one (stime1) register, bits [3:0], for more information on the general purpose timer. hth handshake to handshake timer expired 0 this bit controls whether an interrupt occurs when the handshake-to-handshake timer is expired. the time measured is the scsi request-to-request (target) or acknowledge-to-acknowledge (initiator) period. see the description of the scsi timer zero (stime0) register, bits [7:4], for more information on the handshake-to- handshake timer. 7 3210 r sto gen hth x x x x x000
5-51 register: 0x42 (0xc2) scsi interrupt status zero (sist0) read only reading the scsi interrupt status zero (sist0) register returns the status of the various interrupt conditions, whether they are enabled in the scsi interrupt enable zero (sien0) register or not. each bit set indicates an occurrence of the corresponding condition. reading the scsi interrupt status zero (sist0) clears the interrupt status. reading this register clears any bits that are set at the time the register is read, but does not necessarily clear the register because additional interrupts may be pending (the lsi53C810a stacks interrupts). scsi interrupt conditions may be individually masked through the scsi interrupt enable zero (sien0) register. when performing consecutive 8-bit reads of the dma status (dstat) , scsi interrupt status zero (sist0) , and scsi interrupt status one (sist1) registers (in any order), insert a delay equivalent to 12 clk periods between the reads to ensure the interrupts clear properly. also, if reading the registers when both the interrupt status (istat) sip and dip bits may not be set, read the scsi interrupt status zero (sist0) and scsi interrupt status one (sist1) registers the dma status (dstat) register to avoid missing a scsi interrupt. for more information on interrupts, refer to chapter 2, functional description. m/a initiator mode: phase mismatch; target mode: satn/ active 7 in the initiator mode, this bit is set if the scsi phase asserted by the target does not match the instruction. the phase is sampled when sreq/ is asserted by the target. in target mode, this bit is set when the satn/ signal is asserted by the initiator. cmp function complete 6 this bit is set when an arbitration only or full arbitration sequence is completed. 76543210 m/a cmp sel rsl sge udc rst par 00000000
5-52 operating registers sel selected 5 this bit is set when the lsi53C810a is selected by another scsi device. the enable response to selection bit must be set in the scsi chip id (scid) register (and the response id (respid) register must hold the chips id) for the lsi53C810a to respond to selection attempts. rsl reselected 4 this bit is set when the lsi53C810a is reselected by another scsi device. the enable response to reselection bit must be set in the scsi chip id (scid) register (and the response id (respid) register must hold the chips id) for the lsi53C810a to respond to reselection attempts. sge scsi gross error 3 this bit is set when the lsi53C810a encounters a scsi gross error condition. the following conditions can result in a scsi gross error condition: data under?ow C reading the scsi fifo register when no data is present. data over?ow C writing too many bytes to the scsi fifo, or the synchronous offset causes overwriting the scsi fifo. offset under?ow C the lsi53C810a is operating in target mode and a sack/ pulse is received when the outstanding offset is zero. offset over?ow C the other scsi device sends a sreq/ or sack/ pulse with data which exceeds the maximum synchronous offset de?ned by the scsi transfer (sxfer) register. a phase change occurs with an outstanding synchronous offset when the lsi53C810a is operating as an initiator. residual data in the synchronous data fifo C a transfer other than synchronous data receive is started with data left in the synchronous data fifo. udc unexpected disconnect 2 this bit is set when the lsi53C810a is operating in the initiator mode and the target device unexpectedly disconnects from the scsi bus. this bit is only valid
5-53 when the lsi53C810a operates in the initiator mode. when the lsi53C810a operates in low level mode, any disconnect causes an interrupt, even a valid scsi disconnect. this bit is also set if a selection time-out occurs (it may occur before, at the same time, or stacked after the sto interrupt, since this is not considered an expected disconnect). rst scsi rst/ received 1 this bit is set when the lsi53C810a detects an active srst/ signal, whether the reset was generated external to the chip or caused by the assert srst/ bit in the scsi control one (scntl1) register. this scsi reset detection logic is edge-sensitive, so that multiple interrupts are not generated for a single assertion of the srst/ signal. par parity error 0 this bit is set when the lsi53C810a detects a parity error while receiving scsi data. the enable parity checking bit (bit 3 in the scsi control zero (scntl0) register) must be set for this bit to become active. the lsi53C810a always generates parity when sending scsi data. register: 0x43 (0xc3) scsi interrupt status one (sist1) read only reading the scsi interrupt status one (sist1) register returns the status of the various interrupt conditions, whether they are enabled in the scsi interrupt enable one (sien1) register or not. each bit that is set indicates an occurrence of the corresponding condition. reading the scsi interrupt status one (sist1) register clears the interrupt condition. 7 3210 r sto gen hth x x x x x000
5-54 operating registers r reserved [7:3] sto selection or reselection time-out 2 when the scsi device which the lsi53C810a is attempting to select or reselect does not respond within the programmed time-out period. see the description of the scsi timer zero (stime0) register, bits [3:0], for more information on the time-out timer. gen general purpose timer expired 1 this bit is set when the general purpose timer expires. the time measured is the time between enabling and disabling of the timer. see the description of the scsi timer one (stime1) register, bits [3:0], for more information on the general purpose timer. hth handshake-to-handshake timer expired 0 this bit is set when the handshake-to-handshake timer expires. the time measured is the scsi request to request (target) or acknowledge-to-acknowledge (initiator) period. see the description of the scsi timer zero (stime0) register, bits [7:4], for more information on the handshake-to-handshake timer. register: 0x44 (0xc4) scsi longitudinal parity (slpar) read/write slpar scsi longitudinal parity [7:0] this register performs a bytewise longitudinal parity check on all scsi data received or sent through the scsi core. if one of the bytes received or sent (usually the last) is the set of correct even parity bits, scsi longitudinal parity (slpar) should go to zero (assuming it started at zero). as an example, suppose that the following three data bytes and one check byte are received from the scsi bus (all signals are shown active high): 7 0 slpar xxxxxxxx
5-55 a one in any bit position of the ?nal scsi longitudinal parity (slpar) value would indicate a transmission error. the scsi longitudinal parity (slpar) register is also used to generate the check bytes for scsi send operations. if the scsi longitudinal parity (slpar) register contains all zeros prior to sending a block move, it contains the appropriate check byte at the end of the block move. this byte must then be sent across the scsi bus. note: writing any value to this register resets it to zero. the longitudinal parity checks are meant to provide an added measure of scsi data integrity and are entirely optional. this register does not latch scsi selection/ reselection ids under any circumstances. the default value of this register is zero. register: 0x46 (0xc6) memory access control (macntl) read/write typ[3:0] chip type [7:4] these bits identify the chip type for software purposes. bits 3 through 0 of this register are used to determine if an external bus master access is to local or far memory. data bytes running slpar C 00000000 1. 11001100 11001100 (xor of word 1) 2. 01010101 10011001 (xor of word 1 and 2) 3. 00001111 10010110 (xor of word 1, 2 and 3) even parity >>> 10010110 4. 10010110 00000000 7 43210 typ[3:0] dwr drd pscpt scpts 01100000
5-56 operating registers when bits 3 through 0 are set, the corresponding access is considered local and the mac/_testout pin is driven high. when these bits are cleared, the corresponding access is to far memory and the mac/_testout pin is driven low. this function is enabled after a transfer control scripts instruction is executed. dwr datawr 3 this bit is used to de?ne if a data write is considered to be a local memory access. drd datard 2 this bit is used to de?ne if a data read is considered to be a local memory access. pscpt pointer scripts 1 this bit is used to de?ne if a pointer to a scripts indirect or table indirect fetch is considered local memory access. scpts scripts 0 this bit is used to de?ne if a scripts fetch is considered to be a local memory access. register: 0x47 (0xc7) general purpose pin control (gpcntl) read/write this register is used to determine if the pins controlled by the general purpose (gpreg) register are inputs or outputs. bits [1:0] in general purpose pin control (gpcntl) correspond to bits [1:0] in the general purpose (gpreg) register. when the bits are enabled as inputs, an internal pull-up is also enabled. me master enable 7 the internal bus master signal is presented on gpio1 if this bit is set, regardless of the state of bit 1 (gpio1_en). 765 210 me fe r gpio[1:0] 00 x 0 1 111
5-57 fe fetch enable 6 the internal opcode fetch signal is presented on gpio0 if this bit is set, regardless of the state of bit 0 (gpio0_en). r reserved 5 gpio_en[1:0] gpio enable [1:0] these bits power up set, causing the gpio1 and gpio0 pins to become inputs. resetting these bits causes gpio[1:0] to become outputs. register: 0x48 (0xc8) scsi timer zero (stime0) read/write hth[3:0] handshake-to-handshake timer period [7:4] these bits select the handshake-to-handshake time-out period, the maximum time between scsi handshakes (sreq/ to sreq/ in target mode, or sack/ to sack/ in initiator mode). when this timing is exceeded, an interrupt is generated and the hth bit in the scsi interrupt status one (sist1) register is set. the following table contains time-out periods for the handshake-to-handshake timer, the selection/reselection timer (bits [3:0]), and the general purpose timer ( scsi timer one (stime1) bits [3:0]). for a more detailed explanation of interrupts, refer to chapter 2, functional description. 743 0 hth[3:0] sel[3:0] 00000000 hth[7:4], sel[3:0], gen[3:0] 1 minimum timeout (40 mhz) minimum timeout (50 mhz) 0000 disabled disabled 0001 125 m s 100 m s 0010 250 m s 200 m s 0011 500 m s 400 m s 0100 1 ms 800 m s 0101 2 ms 1.6 ms
5-58 operating registers sel selection time-out [3:0] these bits select the scsi selection/reselection time-out period. when this timing (plus the 200 m s selection abort time) is exceeded, the sto bit in the scsi interrupt sta- tus one (sist1) register is set. for a more detailed explanation of interrupts, refer to chapter 2, functional description. register: 0x49 (0xc9) scsi timer one (stime1) read/write r reserved [7:4] gen[3:0] general purpose timer period [3:0] these bits select the period of the general purpose timer. the time measured is the time between enabling and disabling of the timer. when this timing is exceeded, the 0110 4 ms 3.2 ms 0111 8 ms 6.4 ms 1000 16 ms 12.8 ms 1001 32 ms 25.6 ms 1010 64 ms 51.2 ms 1011 128 ms 102.4 ms 1100 256 ms 204.8 ms 1101 512 ms 409.6 ms 1110 1.024 s 819.2 ms 1111 2.048 s 1.6384 s 1. these values are correct if the ccf bits in the scsi control three (scntl3) register are set according to the valid combinations in the bit description. hth[7:4], sel[3:0], gen[3:0] 1 minimum timeout (40 mhz) minimum timeout (50 mhz) 743 0 r gen[3:0] x x x x0000
5-59 gen bit in the scsi interrupt status one (sist1) register is set. refer to the table under scsi timer zero (stime0) , bits [3:0], for the available time-out periods. note: to reset a timer before it expires and obtain repeatable delays, the time value must be written to zero ?rst, and then written back to the desired value. this is also required when changing from one time value to another. see chapter 2, functional description, for an explanation of how interrupts are generated when the timers expire. register: 0x4a (0xca) response id (respid) read/write respid response id [7:0] this register contains the ids that the chip responds to on the scsi bus. each bit represents one possible id with the most signi?cant bit representing id 7 and the least signi?cant bit representing id 0. the scsi chip id (scid) register still contains the chip id used during arbitration. the chip can respond to more than one id because more than one bit can be set in the response id (respid) register. however, the chip can arbitrate with only one id value in the scsi chip id (scid) register. 7 0 id xxxxxxxx
5-60 operating registers register: 0x4c (0xcc) scsi test zero (stest0) read only r reserved 7 ssaid scsi selected as id [6:4] these bits contain the encoded value of the scsi id that the lsi53C810a is selected or reselected as during a scsi selection or reselection phase. these bits are read only and contain the encoded value of 0C7 possible ids that could be used to select the lsi53C810a. during a scsi selection or reselection phase, when a valid id has been put on the bus, and the lsi53C810a responds to that id, the selected as id is written into these bits. slt selection response logic test 3 this bit is set when the lsi53C810a is ready to be selected or reselected. this does not take into account the bus settle delay of 400 ns. this bit is used for functional test and fault purposes. art arbitration priority encoder test 2 this bit is always set when the lsi53C810a exhibits the highest priority id asserted on the scsi bus during arbitration. it is primarily used for chip level testing, but it may be used during low level mode operation to determine if the lsi53C810a won arbitration. soz scsi synchronous offset zero 1 this bit indicates that the current synchronous sreq/sack offset is zero. this bit is not latched and may change at any time. it is used in low level synchronous scsi operations. when this bit is set, the lsi53C810a functioning as an initiator, is waiting for the target to request data transfers. if the lsi53C810a is a target, then the initiator has sent the offset number of acknowledges. 76 43210 r ssaid slt art soz som xxxx0x11
5-61 som scsi synchronous offset maximum 0 this bit indicates that the current synchronous sreq/sack offset is the maximum speci?ed by bits [3:0] in the scsi transfer (sxfer) register. this bit is not latched and may change at any time. it is used in low level synchronous scsi operations. when this bit is set, the lsi53C810a, as a target, is waiting for the initiator to acknowledge the data transfers. if the lsi53C810a is an initiator, then the target has sent the offset number of requests. register: 0x4d (0xcd) scsi test one (stest1) read/write sclk scsi clock 7 when set, this bit disables the external sclk (scsi clock) pin, and the chip uses the pci clock as the internal scsi clock. if a transfer rate of 10 mbytes/s is desired on the scsi bus, this bit must be cleared and the chip must be connected to at least a 40 mhz external sclk. siso scsi isolation mode 6 this bit allows the lsi53C810a to put the scsi bidirectional and input pins into a low power mode when the scsi bus is not in use. when this bit is set, the scsi bus inputs are logically isolated from the scsi bus. r reserved [5:0] 765 0 sclk siso r 00 x x x x x x
5-62 operating registers register: 0x4e (0xce) scsi test two (stest2) read/write sce scsi control enable 7 setting this bit allows assertion of all scsi control and data lines through the scsi output control latch (socl) and scsi output data latch (sodl) registers regardless of whether the lsi53C810a is con?gured as a target or initiator. note: do not set this bit during normal operation, since it could cause contention on the scsi bus. it is included for diagnostic purposes only. rof reset scsi offset 6 setting this bit clears any outstanding synchronous sreq/sack offset. set this bit if a scsi gross error condition occurs and to clear the offset when a synchronous transfer does not complete successfully. the bit automatically clears itself after resetting the synchronous offset. r reserved 5 slb scsi loopback mode 4 setting this bit allows the lsi53C810a to perform scsi loopback diagnostics. that is, it enables the scsi core to simultaneously perform as both the initiator and the target. szm scsi high impedance mode 3 setting this bit places all the open drain 48 ma scsi drivers into a high impedance state. this is to allow internal loopback mode operation without affecting the scsi bus. 76543210 sce rof r slb szm r ext low 00 x00 x00
5-63 r reserved 2 ext extend sreq/sack filtering 1 lsi logic tolerant scsi receiver technology includes a special digital ?lter on the sreq/ and sack/ pins which causes the disregarding of glitches on deasserting edges. setting this bit increases the ?ltering period from 30 ns to 60 ns on the deasserting edge of the sreq/ and sack/ signals. note: never set this bit during fast scsi (greater than 5 megatransfers per second) operations, because a valid assertion could be treated as a glitch. low scsi low level mode 0 setting this bit places the lsi53C810a in low level mode. in this mode, no dma operations occur, and no scripts execute. arbitration and selection may be performed by setting the start sequence bit as described in the scsi control zero (scntl0) register. scsi bus transfers are performed by manually asserting and polling scsi signals. clearing this bit allows instructions to be executed in scsi scripts mode. note: it is not necessary to set this bit for access to the scsi bit-level registers ( scsi output data latch (sodl) , scsi bus control lines (sbcl) , and input registers. register: 0x4f (0xcf) scsi test three (stest3) read/write te tolerant enable 7 setting this bit enables the active negation portion of tolerant technology. active negation causes the scsi request, acknowledge, data, and parity signals to be actively deasserted, instead of relying on external pull-ups, when the lsi53C810a is driving these signals. active deassertion of these signals occurs only when the 76543210 te str hsc dsi r ttm csf stw 0000 x000
5-64 operating registers lsi53C810a is in an information transfer phase. tolerant active negation should be enabled to improve setup and deassertion times at fast scsi timings. active negation is disabled after reset or when this bit is cleared. for more information on tolerant technology, refer to chapter 1, general description. str scsi fifo test read 6 setting this bit places the scsi core into a test mode in which the scsi fifo is easily read. reading the scsi output data latch (sodl) register causes the fifo to unload. hsc halt scsi clock 5 asserting this bit causes the internal divided scsi clock to come to a stop in a glitchless manner. this bit is used for test purposes or to lower i dd during a power-down mode. dsi disable single initiator response 4 if this bit is set, the lsi53C810a ignores all bus-initiated selection attempts that employ the single initiator option from scsi-1. in order to select the lsi53C810a while this bit is set, the lsi53C810as scsi id and the initiators scsi id must both be asserted. assert this bit in scsi-2 systems so that a single bit error on the scsi bus is not interpreted as a single initiator response. r reserved 3 ttm timer test mode 2 setting this bit facilitates testing of the selection time-out, general purpose, and handshake-to-handshake timers by greatly reducing all three time-out periods. setting this bit starts all three timers and if the respective bits in the scsi interrupt enable one (sien1) register are set, the lsi53C810a generates interrupts at time-out. this bit is intended for internal manufacturing diagnosis and should not be used. csf clear scsi fifo 1 setting this bit causes the full ?ags for the scsi fifo to be cleared. this empties the fifo. this bit is self-clearing. in addition to the scsi fifo pointers, the
5-65 scsi input data latch (sidl) , scsi output data latch (sodl) , and sodr full bits in the scsi status zero (sstat0) register are cleared. stw scsi fifo test write 0 setting this bit places the scsi core into a test mode in which the fifo is easily written. while this bit is set, writes to the scsi output data latch (sodl) register cause the entire word contained in this register to be loaded into the fifo. writing the least signi?cant byte of the scsi output data latch (sodl) register causes the fifo to load. register: 0x50 (0xd0) scsi input data latch (sidl) read only sidl scsi input data latch [15:0] this register is used primarily for diagnostic testing, programmed i/o operation, or error recovery. data received from the scsi bus can be read from this register. data can be written to the scsi output data latch (sodl) register and then read back into the lsi53C810a by reading this register to allow loopback testing. when receiving scsi data, the data ?ows into this register and out to the host fifo. this register differs from the scsi bus data lines (sbdl) register; scsi input data latch (sidl) contains latched data and the scsi bus data lines (sbdl) always contains exactly what is currently on the scsi data bus. reading this register causes the scsi parity bit to be checked, and causes a parity error interrupt if the data is not valid. the power-up values are indeterminate. 15 0 sidl xxxxx x x x x xxx x xxx
5-66 operating registers registers: 0x54 (0xd4) scsi output data latch (sodl) read/write sodl scsi output data latch [15:0] this register is used primarily for diagnostic testing or programmed i/o operation. data written to this register is asserted onto the scsi data bus by setting the assert data bus bit in the scsi control one (scntl1) register. this register is used to send data using programmed i/o. data ?ows through this register when sending data in any mode. it is also used to write to the synchronous data fifo when testing the chip. the power-up value of this register is indeterminate. registers: 0x58 (0xd8) scsi bus data lines (sbdl) read only sbdl scsi bus data lines [15:0] this register contains the scsi data bus status. even though the scsi data bus is active low, these bits are active high. the signal status is not latched and is a true representation of exactly what is on the data bus at the time the register is read. this register is used when receiving data using programmed i/o. this register can also be used for diagnostic testing or in low level mode. the power-up value of this register is indeterminate. 15 0 sodl xxxxx x x x x xxx x xxx 15 0 sbdl xxxxx x x x x xxx x xxx
lsi53C810a pci to scsi i/o processor 6-1 chapter 6 instruction set of the i/o processor this chapter is divided into the following sections: section 6.1, low level register interface mode section 6.2, scsi scripts section 6.3, block move instructions section 6.4, i/o instruction section 6.5, read/write instructions section 6.6, transfer control instructions section 6.7, memory move instructions section 6.8, load and store instructions after power-up and initialization, the lsi53C810a can be operated in the low level register interface mode or using scsi scripts. 6.1 low level register interface mode with the low level register interface mode, the user has access to the dma control logic and the scsi bus control logic. an external processor has access to the scsi bus signals and the low level dma signals, which allows creation of complicated board level test algorithms. the low level interface is useful for backward compatibility with scsi devices that require certain unique timings or bus sequences to operate properly. another feature allowed at the low level is loopback testing. in loopback mode, the scsi core can be directed to talk to the dma core to test internal data paths all the way out to the chips pins.
6-2 instruction set of the i/o processor 6.2 scsi scripts to operate in the scsi scripts mode, the lsi53C810a requires only a scripts start address. the start address must be at a dword (four byte) boundary. this aligns subsequent scripts at a dword boundary since all scripts are 8 or 12 bytes long. all instructions are fetched from external memory. the lsi53C810a fetches and executes its own instructions by becoming a bus master on the host bus and fetching two or three 32-bit words into its registers. instructions are fetched until an interrupt instruction is encountered, or until an unexpected event (such as a hardware error) causes an interrupt to the external processor. once an interrupt is generated, the lsi53C810a halts all operations until the interrupt is serviced. then, the start address of the next scripts instruction may be written to the dma scripts pointer (dsp) register to restart the automatic fetching and execution of instructions. the scsi scripts mode of execution allows the lsi53C810a to make decisions based on the status of the scsi bus, which of?oads the microprocessor from servicing the numerous interrupts inherent in i/o operations. given the rich set of scsi oriented features included in the instruction set, and the ability to re-enter the scsi algorithm at any point, this high level interface is all that is required for both normal and exception conditions. switching to low level mode for error recovery should never be required. the following types of scripts instructions are implemented in the lsi53C810a as shown in table 6.1 :
scsi scripts 6-3 each instruction consists of two or three 32-bit words. the ?rst 32-bit word is always loaded into the dma command (dcmd) and dma byte counter (dbc) registers, the second into the dma scripts pointer save (dsps) register. the third word, used only by memory move instructions, is loaded into the temporary (temp) shadow register. in an indirect i/o or move instruction, the ?rst two 32-bit opcode fetches are followed by one or two more 32-bit fetch cycles. 6.2.1 sample operation this sample operation describes execution of a scripts instruction for a block move instruction. the host cpu, through programmed i/o, gives the dma scripts pointer (dsp) register (in the operating register ?le) the starting address in main memory that points to a scsi scripts program for execution. loading the dma scripts pointer (dsp) register causes the lsi53C810a to request use of the pci bus to fetch its ?rst instruction from main memory at the address just loaded. table 6.1 scripts instructions instruction description block move block move instruction moves data between the scsi bus and memory. i/o or read/write i/o or read/write instructions cause the lsi53C810a to trigger common scsi hardware sequences, or to move registers. transfer control transfer control instruction allows scripts instructions to make decisions based on real time scsi bus conditions. memory move memory move instruction causes the lsi53C810a to execute block moves between different parts of main memory. load and store load and store instructions provide a more ef?cient way to move data to/from memory from/to an internal register in the chip without using the memory move instruction.
6-4 instruction set of the i/o processor the lsi53C810a typically fetches two dwords (64 bits) and decodes the high order byte of the ?rst dword as a scripts instruction. if the instruction is a block move, the lower three bytes of the ?rst dword are stored and interpreted as the number of bytes to be moved. the second dword is stored and interpreted as the 32-bit beginning address in main memory to which the move is directed. for a scsi send operation, the lsi53C810a waits until there is enough space in the dma fifo to transfer a programmable size block of data. for a scsi receive operation, it waits until enough data is collected in the dma fifo for transfer to memory. at this point, the lsi53C810a requests use of the pci bus again to transfer the data. when the lsi53C810a is granted the pci bus, it executes (as a bus master) a burst transfer (programmable size) of data, decrements the internally stored remaining byte count, increments the address pointer, and then releases the pci bus. the lsi53C810a stays off the pci bus until the fifo can again hold (for a write) or has collected (for a read) enough data to repeat the process. the process repeats until the internally stored byte count has reached zero. the lsi53C810a releases the pci bus and performs another scripts instruction fetch cycle, using the incremented stored address maintained in the dma scripts pointer (dsp) register. execution of scripts instructions continues until an error condition occurs or an interrupt scripts instruction is received. at this point, the lsi53C810a interrupts the host cpu and waits for further servicing by the host system. it can execute independent block move instructions specifying new byte counts and starting locations in main memory. in this manner, the lsi53C810a performs scatter/gather operations on data without requiring help from the host program, generating a host interrupt, or requiring an external dma controller to be programmed. figure 6.1 illustrates a scripts initiator write operation, which uses several block move instructions.
block move instructions 6-5 figure 6.1 scripts overview 6.3 block move instructions the block move scripts instruction is used to move data between the scsi bus and memory. for a block move instruction, the lsi53C810a operates much like a chaining dma device with a scsi controller attached. figure 6.2 illustrates the register bit values that represent a block move instruction. in block move instructions, bits 5 and 4 (siom and diom) in the dma mode (dmode) register determine whether the source/destination address resides in memory or i/o space. when data is being moved onto the scsi bus, siom controls whether that data comes from i/o or memory space. when data is being moved off of the scsi bus, diom controls whether that data goes to i/o or memory space. system processor system memory scsi initiator write example select atn 0, alt_addr move from identify_msg_buf, when msg_out move from cmd_buf, when cmd move from data_buf when data_out move from stat_in_buf, when status move from msg_in_buf, when msg_in move scntl2 & 7f to scntl2 clear ack wail disconnect alt2 int 10 s y s t e m write dsp fetch scripts data lsi53C810a scsi bus b u s data structure message buffer command buffer data buffer status buffer
6-6 instruction set of the i/o processor 6.3.1 first dword it[1:0] instruction type - block move [31:30] ia indirect addressing 29 when this bit is cleared, user data is moved to or from the 32-bit data start address for the block move instruction. the value is loaded into the chips address register and incremented as data is transferred. the address of data to be moved is in the second dword of this instruction. when set, the 32-bit user data start address for the block move is the address of a pointer to the actual data buffer address. the value at the 32-bit start address is loaded into the chips dma next address (dnad) register using a third dword fetch (4-byte transfer across the host computer bus). direct addressing the byte count and absolute address are: indirect addressing use the fetched byte count, but fetch the data address from the address in the instruction. once the data pointer address is loaded, it is executed as when the chip operates in the direct mode. this indirect feature allows a table of data buffer addresses to be speci?ed. using the scsi scripts assembler, the table offset is placed in the scripts ?le when the program is assembled. then at the actual data transfer time, the offsets are added to the base address of the data address table by the external processor. the logical i/o driver builds a structure of addresses for an i/o rather than treating each address individually. this feature makes it possible to locate scsi scripts in a prom. command byte count address of data command byte count address of pointer to data
block move instructions 6-7 note: do not use indirect and table indirect addressing simultaneously; use only one addressing method at a time. tia table indirect addressing 28 when this bit is set, the 24-bit signed value in the start address of the move is treated as a relative displacement from the value in the data structure address (dsa) register. both the transfer count and the source/ destination address are fetched from this location. use the signed integer offset in bits [23:0] of the second four bytes of the instruction, added to the value in the data structure address (dsa) register, to fetch ?rst the byte count and then the data address. the signed value is combined with the data structure base address to generate the physical address used to fetch values from the data structure. sign extended values of all ones for negative values are allowed, but bits [31:24] are ignored. command not used dont care table offset
6-8 instruction set of the i/o processor figure 6.2 block move instruction register prior to the start of an i/o, the data structure address (dsa) register should be loaded with the base address of the i/o data structure. the address may be any address on a dword boundary. after a table indirect opcode is fetched, the dsa is added to the 24-bit signed offset value from the opcode to generate the address of the required data; both positive and negative offsets are allowed. a subsequent fetch from that address brings the data values into the chip. for a move instruction, the 24-bit byte count is fetched from system memory. then the 32-bit physical address is brought into the lsi53C810a. execution of the move begins at this point. 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 dsps register dcmd register dbc register 24-bit block move byte counter i/o c/d msg/ opcode table indirect addressing indirect addressing (lsi53c700 family compatible) 0 - instruction type - block move 0 - instruction type - block move
block move instructions 6-9 scripts can directly execute operating system i/o data structures, saving time at the beginning of an i/o operation. the i/o data structure can begin on any dword boundary and may cross system segment boundaries. there are two restrictions on the placement of pointer data in system memory: the eight bytes of data in the move instruction must be contiguous, as shown below, and indirect data fetches are not available during execution of a memory-to-memory dma operation. opcode 27 this 1-bit ?eld de?nes the instruction to be executed as a block move (move). target mode these instructions perform the following steps: 1. the lsi53C810a veri?es that it is connected to the scsi bus as a target before executing this instruction. 2. the lsi53C810a asserts the scsi phase signals (smsg/, sc_d/, and si_o/) as de?ned by the phase field bits in the instruction. 3. if the instruction is for the command phase, the lsi53C810a receives the ?rst command byte and decodes its scsi group code. C if the scsi group code is either group 0, group 1, group 2, or group 5, then the lsi53C810a overwrites the dma byte counter (dbc) register with the length of the command descriptor block: 6, 10, or 12 bytes. 00 byte count physical data address opc instruction de?ned 0move 1 reserved
6-10 instruction set of the i/o processor C if any other group code is received, the dma byte counter (dbc) register is not modi?ed and the lsi53C810a will request the number of bytes speci?ed in the dma byte counter (dbc) register. if the dma byte counter (dbc) register contains 0x000000, an illegal instruction interrupt is generated. 4. the lsi53C810a transfers the number of bytes speci?ed in the dma byte counter (dbc) register starting at the address speci?ed in the dma next address (dnad) register. 5. if the satn/ signal is asserted by the initiator or a parity error occurred during the transfer, the transfer can optionally be halted and an interrupt generated. the disable halt on parity error or atn bit in the scsi control one (scntl1) register controls whether the lsi53C810a halts on these conditions immediately, or waits until completion of the current move. initiator mode these instructions perform the following steps: 1. the lsi53C810a veri?es that it is connected to the scsi bus as an initiator before executing this instruction. 2. the lsi53C810a waits for an unserviced phase to occur. an unserviced phase is any phase (with sreq/ asserted) for which the lsi53C810a has not yet transferred data by responding with a sack/. opc instruction de?ned 0 reserved 1move
block move instructions 6-11 3. the lsi53C810a compares the scsi phase bits in the dma command (dcmd) register with the latched scsi phase lines stored in the scsi status one (sstat1) register. these phase lines are latched when sreq/ is asserted. 4. if the scsi phase bits match the value stored in the scsi scsi status one (sstat1) register, the lsi53C810a transfers the number of bytes speci?ed in the dma byte counter (dbc) register starting at the address pointed to by the dma next address (dnad) register. 5. if the scsi phase bits do not match the value stored in the scsi status one (sstat1) register, the lsi53C810a generates a phase mismatch interrupt and the instruction is not executed. 6. during a message-out phase, after the lsi53C810a has performed a select with attention (or satn/ is manually asserted with a set atn instruction), the lsi53C810a deasserts satn/ during the ?nal sreq/sack/ handshake of the ?rst move of message-out bytes after satn/ was set. 7. when the lsi53C810a is performing a block move for message-in phase, it does not deassert the sack/ signal for the last sreq/sack/ handshake. clear the sack/ signal using the clear sack i/o instruction. scsip[2:0] scsi phase [26:24] this 3-bit ?eld de?nes the desired scsi information transfer phase. when the lsi53C810a operates in initiator mode, these bits are compared with the latched scsi phase bits in the scsi status one (sstat1) register. when the lsi53C810a operates in target mode, the lsi53C810a asserts the phase de?ned in this ?eld. the following table describes the possible combinations and the corresponding scsi phase.
6-12 instruction set of the i/o processor tc[23:0] transfer counter [23:0] this 24-bit ?eld speci?es the number of data bytes to be moved between the lsi53C810a and system memory. the ?eld is stored in the dma byte counter (dbc) register. when the lsi53C810a transfers data to/from memory, the dma byte counter (dbc) register is decremented by the number of bytes transferred. in addition, the dma next address (dnad) register is incremented by the number of bytes transferred. this process is repeated until the dma byte counter (dbc) register has been decremented to zero. at that time, the lsi53C810a fetches the next instruction. if bit 28 is set, indicating table indirect addressing, this ?eld is not used. the byte count is instead fetched from a table pointed to by the data structure address (dsa) register. 6.3.2 second dword start address [31:0] this 32-bit ?eld speci?es the starting address of the data to be moved to/from memory. this ?eld is copied to the dma next address (dnad) register. when the lsi53C810a transfers data to or from memory, the dma next address (dnad) register is incremented by the number of bytes transferred. when bit 29 is set, indicating indirect addressing, this address is a pointer to an address in memory that points to the data location. when bit 28 is set, indicating table msg c_d i_o scsi phase 0 0 0 data-out 0 0 1 data-in 0 1 0 command 0 1 1 status 1 0 0 reserved-out 1 0 1 reserved-in 1 1 0 message-out 1 1 1 message-in
i/o instruction 6-13 indirect addressing, the value in this ?eld is an offset into a table pointed to by the data structure address (dsa) . the table entry contains byte count and address information. 6.4 i/o instruction the i/o scripts instruction causes the lsi53C810a to trigger common scsi hardware sequences such as set/clear ack, set/clear atn, set/clear target mode, select with atn, or wait for reselect. 6.4.1 first dword it[1:0] instruction type - i/o instruction [31:30] opc[2:0] opcode [29:27] the following opcode bits have different meanings, depending on whether the lsi53C810a is operating in initiator or target mode. note: opcode selections 101C111 are considered read/write instructions, and are described section 6.5, read/write instructions. target mode opc2 opc1 opc0 instruction de?ned 0 0 0 reselect 0 0 1 disconnect 0 1 0 wait select 011set 1 0 0 clear
6-14 instruction set of the i/o processor reselect instruction 1. the lsi53C810a arbitrates for the scsi bus by asserting the scsi id stored in the scsi chip id (scid) register. if it loses arbitration, it tries again during the next available arbitration cycle without reporting any lost arbitration status. 2. if the lsi53C810a wins arbitration, it attempts to reselect the scsi device whose id is de?ned in the destination id ?eld of the instruction. once the lsi53C810a wins arbitration, it fetches the next instruction from the address pointed to by the dma scripts pointer (dsp) register. this way the scripts can move on to the next instruction before the reselection completes. it continues executing scripts until a script that requires a response from the initiator is encountered. 3. if the lsi53C810a is selected or reselected before winning arbitration, it fetches the next instruction from the address pointed to by the 32-bit jump address ?eld stored in the dma next address (dnad) register. manually set the lsi53C810a to initiator mode if it is reselected, or to target mode if it is selected. disconnect instruction the lsi53C810a disconnects from the scsi bus by deasserting all scsi signal outputs.
i/o instruction 6-15 wait select instruction 1. if the lsi53C810a is selected, it fetches the next instruction from the address pointed to by the dma scripts pointer (dsp) register. 2. if reselected, the lsi53C810a fetches the next instruction from the address pointed to by the 32-bit jump address ?eld stored in the dma next address (dnad) register. manually set the lsi53C810a to initiator mode when it is reselected. 3. if the cpu sets the sigp bit in the scsi status zero (sstat0) register, the lsi53C810a aborts the wait select instruction and fetches the next instruction from the address pointed to by the 32-bit jump address ?eld stored in the dma next address (dnad) register. set instruction when the sack/ or satn/ bits are set, the corresponding bits in the scsi output control latch (socl) register are set. do not set sack/ or satn/ except for testing purposes. when the target bit is set, the corresponding bit in the scsi control zero (scntl0) register is also set. when the carry bit is set, the corresponding bit in the arithmetic logic unit (alu) is set. note: none of the signals are set on the scsi bus in target mode.
6-16 instruction set of the i/o processor figure 6.3 illustrates the register bit values that represent an i/o instruction. figure 6.3 i/o instruction register 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 dsps register dcmd register dbc register r rr r set/clear atn/ set/clear ack/ set/clear target mode set/clear carry encoded destination id 0 encoded destination id 1 encoded destination id 2 reserved reserved reserved reserved reserved select with atn/ table indirect mode relative address mode opcode bit 0 opcode bit 1 opcode bit 2 1 - instruction type - i/o 0 - instruction type - i/o 32-bit jump address second 32-bit word of the i/o instruction
i/o instruction 6-17 clear instruction when the sack/ or satn/ bits are cleared, the corresponding bits are cleared in the scsi output con- trol latch (socl) register. do not set sack/ or satn/ except for testing purposes. when the target bit is cleared, the corresponding bit in the scsi control zero (scntl0) register is cleared. when the carry bit is cleared, the corresponding bit in the alu is cleared. note: none of the signals are cleared on the scsi bus in target mode. initiator mode select instruction 1. the lsi53C810a arbitrates for the scsi bus by asserting the scsi id stored in the scsi chip id (scid) register. if it loses arbitration, it tries again during the next available arbitration cycle without reporting any lost arbitration status. 2. if the lsi53C810a wins arbitration, it attempts to select the scsi device whose id is de?ned in the destination id ?eld of the instruction. once the lsi53C810a wins arbitration, it fetches the next instruction from the address pointed to by the dma scripts pointer (dsp) register. this way the scripts can move to the next instruction before the selection completes. it continues executing scripts until a script that requires a response from the target is encountered. 3. if the lsi53C810a is selected or reselected before winning arbitration, it fetches the next instruction from the address pointed to by the 32-bit jump address opc2 opc1 opc0 instruction de?ned 0 0 0 select 0 0 1 wait disconnect 0 1 0 wait reselect 0 1 1 set 1 0 0 clear
6-18 instruction set of the i/o processor ?eld stored in the dma next address (dnad) register. manually set the lsi53C810a to initiator mode if it is reselected, or to target mode if it is selected. 4. if the select with satn/ ?eld is set, the satn/ signal is asserted during the selection phase. wait disconnect instruction 1. the lsi53C810a waits for the target to perform a legal disconnect from the scsi bus. a legal disconnect occurs when sbsy/ and ssel/ are inactive for a minimum of one bus free delay (400 ns), after the lsi53C810a has received a disconnect message or a command complete message. wait reselect instruction 1. if the lsi53C810a is selected before being reselected, it fetches the next instruction from the address pointed to by the 32-bit jump address ?eld stored in the dma next address (dnad) register. manually set the lsi53C810a to target mode when it is selected. 2. if the lsi53C810a is reselected, it fetches the next instruction from the address pointed to by the dma scripts pointer (dsp) register. 3. if the cpu sets the sigp bit in the interrupt status (istat) register, the lsi53C810a aborts the wait reselect instruction and fetches the next instruction from the address pointed to by the 32-bit jump address ?eld stored in the dma next address (dnad) register. set instruction when the sack/ or satn/ bits are set, the corresponding bits in the scsi output control latch (socl) register are set. when the target bit is set, the corresponding bit in the scsi control zero (scntl0) register is also set. when the carry bit is set, the corresponding bit in the alu is set.
i/o instruction 6-19 clear instruction when the sack/or satn/ bits are cleared, the corresponding bits are cleared in the scsi output con- trol latch (socl) register. when the target bit is cleared, the corresponding bit in the scsi control zero (scntl0) register is cleared. when the carry bit is cleared, the corresponding bit in the alu is cleared. ra relative addressing mode 26 when this bit is set, the 24-bit signed value in the dma next address (dnad) register is used as a relative displacement from the current dma scripts pointer (dsp) address. use this bit only in conjunction with the select, reselect, wait select, and wait reselect instructions. the select and reselect instructions can contain an absolute alternate jump address or a relative transfer address. ti table indirect mode 25 when this bit is set, the 24-bit signed value in the dma byte counter (dbc) register is added to the value in the data structure address (dsa) register, and used as an offset relative to the value in the data structure address (dsa) register. the scsi control three (scntl3) value, scsi id, synchronous offset and synchronous period are loaded from this address. prior to the start of an i/o, load the data structure address (dsa) with the base address of the i/o data structure. any address on a dword boundary is allowed. after a table indirect opcode is fetched, the data structure address (dsa) is added to the 24-bit signed offset value from the opcode to generate the address of the required data. both positive and negative offsets are allowed. a subsequent fetch from that address brings the data values into the chip. scripts can directly execute operating system i/o data structures, saving time at the beginning of an i/o operation. the i/o data structure can begin on any dword boundary and may cross system segment boundaries. there are two restrictions on the placement of data in system memory: the i/o data structure must lie within the 8 mbytes above or below the base address.
6-20 instruction set of the i/o processor an i/o command structure must have all four bytes contiguous in system memory, as shown below. the offset/period bits are ordered as in the scsi transfer (sxfer) register. the con?guration bits are ordered as in the scsi control three (scntl3) register. use this bit only in conjunction with the select, reselect, wait select, and wait reselect instructions. use bits 25 and 26 individually or in combination to produce the following conditions: direct uses the device id and physical address in the instruction. table indirect uses the physical jump address, but fetches data using the table indirect method. relative uses the device id in the instruction, but treats the alternate address as a relative jump. con?g id offset/period 00 bit 25 bit 26 direct 0 0 table indirect 0 1 relative 1 0 table relative 1 1 command id not used not used absolute alternate address command table offset absolute jump offset command id not used not used absolute jump offset
i/o instruction 6-21 table relative treats the alternate jump address as a relative jump and fetches the device id, synchronous offset, and synchronous period indirectly. the value in bits [23:0] of the ?rst four bytes of the scripts instruction is added to the data structure base address to form the fetch address. sel select with atn/ 24 this bit speci?es whether satn/ is asserted during the selection phase when the lsi53C810a is executing a select instruction. when operating in initiator mode, set this bit for the select instruction. if this bit is set on any other i/o instruction, an illegal instruction interrupt is generated. endid encoded scsi destination id [18:16] this 3-bit ?eld speci?es the destination scsi id for an i/o instruction. cc set/clear carry 10 this bit is used in conjunction with a set or clear instruction to set or clear the carry bit. setting this bit with a set instruction asserts the carry bit in the alu. setting this bit with a clear instruction deasserts the carry bit in the alu. tm set/clear target mode 9 this bit is used in conjunction with a set or clear instruction to set or clear target mode. setting this bit with a set instruction con?gures the lsi53C810a as a target device (this sets bit 0 of the scsi control zero (scntl0) register). clearing this bit with a clear instruction con?gures the lsi53C810a as an initiator device (this clears bit 0 of the scsi control zero (scntl0) register). command table offset absolute jump offset
6-22 instruction set of the i/o processor ack set/clear sack/ 6 atn set/clear satn/ 3 these two bits are used in conjunction with a set or clear instruction to assert or deassert the corresponding scsi control signal. bit 6 controls the scsi sack/ signal. bit 3 controls the scsi satn/ signal. setting either of these bits sets or resets the corresponding bit in the scsi output control latch (socl) register, depending on the instruction used. the set instruction is used to assert sack/ and/or satn/ on the scsi bus. the clear instruction is used to deassert sack/ and/or satn/ on the scsi bus. since sack/ and satn/ are initiator signals, they are not asserted on the scsi bus unless the lsi53C810a is operating as an initiator or the scsi loopback enable bit is set in the scsi test two (stest2) register. the set/clear scsi ack/atn instruction is used after message phase block move operations to give the initiator the opportunity to assert attention before acknowledging the last message byte. for example, if the initiator wishes to reject a message, it issues an assert scsi atn instruction before a clear scsi ack instruction. r reserved [2:0] 6.4.2 second dword sa start address [31:0] this 32-bit ?eld contains the memory address to fetch the next instruction if the selection or reselection fails. if relative or table relative addressing is used, this value is a 24-bit signed offset relative to the current dma scripts pointer (dsp) register value.
read/write instructions 6-23 6.5 read/write instructions the read/write instruction type moves the contents of one register to another, or performs arithmetic operations such as and, or, xor, addition, and shift. 6.5.1 first dword it[1:0] instruction type - read/write instruction [31:30] the read/write instruction uses operator bits 26 through 24 in conjunction with the opcode bits to determine which instruction is currently selected. opc[2:0] opcode [29:27] the combinations of these bits determine if the instruction is a read/write or an i/o instruction. opcodes 0b000 through 0b100 are considered i/o instructions. refer to table 6.2 for ?eld de?nitions. o[2:0] operator [26:24] these bits are used in conjunction with the opcode bits to determine which instruction is currently selected. refer to table 6.2 for ?eld de?nitions. a[6:0] register address - a[6:0] [22:16] it is possible to change register values from scripts in read-modify-write cycles or move to/from sfbr cycles. a[6:0] select an 8-bit source/destination register within the lsi53C810a. 6.5.2 second dword destination address [31:0] this ?eld contains the 32-bit destination address where the data is to move. 6.5.3 read-modify-write cycles during these cycles the register is read, the selected operation is performed, and the result is written back to the source register.
6-24 instruction set of the i/o processor the add operation is used to increment or decrement register values (or memory values if used in conjunction with a memory-to-register move operation) for use as loop counters. 6.5.4 move to/from sfbr cycles all operations are read-modify-writes. however, two registers are involved, one of which is always the sfbr. the possible functions of this instruction are: write one byte (value contained within the scripts instruction) into any chip register. move to/from the sfbr from/to any other register. alter the value of a register with and, or, add, xor, shift left, or shift right operators. after moving values to the sfbr, the compare and jump, call, or similar instructions may be used to check the value. a move-to-sfbr followed by a move-from-sfbr is used to perform a register-to-register move.
read/write instructions 6-25 figure 6.4 illustrates the register bit values that represent a read/write instruction. figure 6.4 read/write register instruction 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 dsps register dcmd register dbc register a0 a1 a2 a3 a4 a5 a6 0 (reserved) operator 0 operator 1 operator 2 opcode bit 0 opcode bit 1 opcode bit 2 1 - instruction type - r/w 0 - instruction type - r/w immediate data reserved (must be 0) register address
6-26 instruction set of the i/o processor table 6.2 read/write instructions operator opcode 111 read-modify-write opcode 110 move to sfbr opcode 101 move from sfbr 000 move data into register. syntax: move data8 to rega move data into scsi first byte received (sfbr) register. syntax: move data8 to sfbr move data into register. syntax: move data8 to rega 001 1 shift register one bit to the left and place the result in the same register. syntax: move rega shl rega shift register one bit to the left and place the result in the scsi first byte received (sfbr) register. syntax: move rega shl sfbr shift the scsi first byte received (sfbr) register one bit to the left and place the result in the register. syntax: move sfbr shl rega 010 or data with register and place the result in the same register. syntax: move rega | data8 to rega or data with register and place the result in the scsi first byte received (sfbr) register. syntax: move rega | data8 to sfbr or data with sfbr and place the result in the register. syntax: move sfbr | data8 to rega 011 xor data with register and place the result in the same register. syntax: move rega xor data8 to rega xor data with register and place the result in the scsi first byte received (sfbr) register. syntax: move rega xor data8 to sfbr xor data with sfbr and place the result in the register. syntax: move sfbr xor data8 to rega 100 and data with register and place the result in the same register. syntax: move rega & data8 to rega and data with register and place the result in the scsi first byte received (sfbr) register. syntax: move rega & data8 to sfbr and data with sfbr and place the result in the register. syntax: move sfbr & data8 to rega 101 1 shift register one bit to the right and place the result in the same register. syntax: move rega shr rega shift register one bit to the right and place the result in the scsi first byte received (sfbr) register. syntax: move rega shr sfbr shift the scsi first byte received (sfbr) register one bit to the right and place the result in the register. syntax: move sfbr shr rega
transfer control instructions 6-27 miscellaneous notes: ? substitute the desired register name or address for rega in the syntax examples. ? data8 indicates eight bits of data. 6.6 transfer control instructions the transfer control, or conditional jump, instruction allows you to write scripts that make decisions based on real time conditions on the scsi bus, such as phase or data. this instruction type includes jump, call, return, and interrupt instructions. 6.6.1 first dword it[2:0] instruction type - transfer control instruction [31:30] opc[2:0] opcode [29:27] this 3-bit ?eld speci?es the type of transfer control instruction to execute. all transfer control instructions can be conditional. they can be dependent on a true/false comparison of the alu carry bit or a comparison of the scsi information transfer phase with the phase ?eld, and/or a comparison of the first byte received with the data compare ?eld. each instruction can operate in initiator or target mode. 110 add data to register without carry and place the result in the same register. syntax: move rega + data8 to rega add data to register without carry and place the result in the scsi first byte received (sfbr) register. syntax: move rega + data8 to sfbr add data to sfbr without carry and place the result in the register. syntax: move sfbr + data8 to rega 111 add data to register with carry and place the result in the same register. syntax: move rega + data8 to rega with carry add data to register with carry and place the result in the scsi first byte received (sfbr) register. syntax: move rega + data8 to sfbr with carry add data to sfbr with carry and place the result in the register. syntax: move sfbr + data8 to rega with carry 1. data is shifted through the carry bit and the carry bit is shifted into the data byte. table 6.2 read/write instructions operator opcode 111 read-modify-write opcode 110 move to sfbr opcode 101 move from sfbr
6-28 instruction set of the i/o processor jump instruction the lsi53C810a can do a true/false comparison of the alu carry bit, or compare the phase and/or data as de?ned by the phase compare, data compare and true/false bit ?elds. if the comparisons are true, then it loads the dma scripts pointer (dsp) register with the contents of the dma scripts pointer save (dsps) register. the dma scripts pointer (dsp) register now contains the address of the next instruction. if the comparisons are false, the lsi53C810a fetches the next instruction from the address pointed to by the dma scripts pointer (dsp) register, leaving the instruction pointer unchanged. call instruction the lsi53C810a can do a true/false comparison of the alu carry bit, or compare the phase and/or data as de?ned by the phase compare, data compare, and true/false bit ?elds. if the comparisons are true, then it loads the dma scripts pointer (dsp) register with the contents of the dma scripts pointer save (dsps) register and that address value becomes the address of the next instruction. when the lsi53C810a executes a call instruction, the instruction pointer contained in the dma scripts pointer (dsp) register is stored in the temporary (temp) register. since the temp register is not a stack and can only hold one dword, nested call instructions are not allowed. opc2 opc1 opc0 instruction de?ned 000jump 0 0 1 call 0 1 0 return 0 1 1 interrupt 1 x x reserved
transfer control instructions 6-29 if the comparisons are false, the lsi53C810a fetches the next instruction from the address pointed to by the dma scripts pointer (dsp) register and the instruction pointer is not modi?ed. return instruction the lsi53C810a can do a true/false comparison of the alu carry bit, or compare the phase and/or data as de?ned by the phase compare, data compare, and true/false bit ?elds. if the comparisons are true, then it loads the dma scripts pointer (dsp) register with the contents of the dma scripts pointer save (dsps) register. that address value becomes the address of the next instruction. when a return instruction is executed, the value stored in the temporary (temp) register is returned to the dma scripts pointer (dsp) register. the lsi53C810a does not check to see whether the call instruction has already been executed. it does not generate an interrupt if a return instruction is executed without previously executing a call instruction.
6-30 instruction set of the i/o processor figure 6.5 illustrates the register bit values that represent a transfer control instruction. figure 6.5 transfer control instruction 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 dsps register dcmd register dbc register wait for valid phase compare phase compare data jump if: true=1, false=0 interrupt on the fly carry test 0 (reserved) relative addressing mode i/o c/d msg opcode bit 0 opcode bit 1 opcode bit 2 1 - instruction type - transfer control 0 - instruction type - transfer control mask for compare data to be compared with the scsi first byte received
transfer control instructions 6-31 if the comparisons are false, the lsi53C810a fetches the next instruction from the address pointed to by the dma scripts pointer (dsp) register and the instruction pointer is not modi?ed. interrupt instruction the lsi53C810a can do a true/false comparison of the alu carry bit, or compare the phase and/or data as de?ned by the phase compare, data compare, and true/false bit ?elds. if the comparisons are true, then the lsi53C810a generates an interrupt by asserting the irq/ signal. the 32-bit address ?eld stored in the dma scripts pointer save (dsps) register can contain a unique interrupt service vector. when servicing the interrupt, this unique status code allows the isr to quickly identify the point at which the interrupt occurred. the lsi53C810a halts and the dma scripts pointer (dsp) register must be written before starting any further operation. interrupt on-the-fly instruction the lsi53C810a can do a true/false comparison of the alu carry bit or compare the phase and/or data as de?ned by the phase compare, data compare, and true/false bit ?elds. if the comparisons are true, and the interrupt-on-the-fly bit is set (bit 2), the lsi53C810a asserts the interrupt-on-the-fly bit. scsip[2:0] scsi phase [26:24] this 3-bit ?eld corresponds to the three scsi bus phase signals which are compared with the phase lines latched when sreq/ is asserted. comparisons can be performed to determine the scsi phase actually being driven on the scsi bus. the following table describes the possible combinations and their corresponding scsi phase. these bits are only valid when the lsi53C810a is operating in initiator mode. clear these bits when the lsi53C810a is operating in target mode.
6-32 instruction set of the i/o processor ra relative addressing mode 23 when this bit is set, the 24-bit signed value in the dma scripts pointer save (dsps) register is used as a relative offset from the current dma scripts pointer (dsp) address (which is pointing to the next instruction, not the one currently executing). the relative mode does not apply to return and interrupt scripts. jump/call an absolute address start execution at the new absolute address. jump/call a relative address start execution at the current address plus (or minus) the relative offset. the scripts program counter is a 32-bit value pointing to the scripts instruction currently under execution by the lsi53C810a. the next address is formed by adding the 32-bit program counter to the 24-bit signed value of the last 24 bits of the jump or call instruction. because it is signed (2s complement), the jump can be forward or backward. msg c/d i/o scsi phase 0 0 0 data-out 0 0 1 data-in 0 1 0 command 0 1 1 status 1 0 0 reserved 1 0 1 reserved 1 1 0 message-out 1 1 1 message-in command condition codes absolute alternate address command condition codes dont care alternate jump offset
transfer control instructions 6-33 a relative transfer can be to any address within a 16 mbyte segment. the program counter is combined with the 24-bit signed offset (using addition or subtraction) to form the new execution address. scripts programs may contain a mixture of direct jumps and relative jumps to provide maximum versatility when writing scripts. for example, major sections of code can be accessed with far calls using the 32-bit physical address, then local labels can be called using relative transfers. if a script is written using only relative transfers it does not require any run time alteration of physical addresses, and could be stored in and executed from a prom. ct carry test 21 when this bit is set, decisions based on the alu carry bit can be made. true/false comparisons are legal, but data compare and phase compare are illegal. if interrupt-on-the-fly 20 when this bit is set, the interrupt instruction does not halt the scripts processor. once the interrupt occurs, the interrupt-on-the-fly bit ( interrupt status (istat) bit 2) is asserted. jmp jump if true/false 19 this bit determines whether the lsi53C810a branches when a comparison is true or when a comparison is false. this bit applies to phase compares, data compares, and carry tests. if both the phase compare and data compare bits are set, then both compares must be true to branch on a true condition. both compares must be false to branch on a false condition. bit 19 result of compare action 0 false jump taken 0 true no jump 1 false no jump 1 true jump taken
6-34 instruction set of the i/o processor cd compare data 18 when this bit is set, the ?rst byte received from the scsi data bus (contained in scsi first byte received (sfbr) register) is compared with the data to be compared field in the transfer control instruction. the wait for valid phase bit controls when this compare occurs. the jump if true/false bit determines the condition (true or false) to branch on. cp compare phase 17 when the lsi53C810a is in initiator mode, this bit controls phase compare operations. when this bit is set, the scsi phase signals (latched by sreq/) are compared to the phase field in the transfer control instruction. if they match, the comparison is true. the wait for valid phase bit controls when the compare occurs. when the lsi53C810a is operating in target mode and this bit is set it tests for an active scsi satn/ signal. wvp wait for valid phase 16 if the wait for valid phase bit is set, the lsi53C810a waits for a previously unserviced phase before comparing the scsi phase and data. if the wait for valid phase bit is cleared, the lsi53C810a compares the scsi phase and data immediately. dcm data compare mask [15:8] the data compare mask allows a scripts instruction to test certain bits within a data byte. during the data compare, if any mask bits that are set, the corresponding bit in the scsi first byte received (sfbr) data byte is ignored. for instance, a mask of 0b01111111 and data compare value of 0b1xxxxxxx allows the scripts processor to determine whether or not the high order bit is set while ignoring the remaining bits. dcv data compare value [7:0] this 8-bit ?eld is the data to be compared against the scsi first byte received (sfbr) register. these bits are used in conjunction with the data compare mask field to test for a particular data value.
transfer control instructions 6-35 6.6.2 second dword jump address [31:0] this 32-bit ?eld contains the address of the next instruction to fetch when a jump is taken. once the lsi53C810a has fetched the instruction from the address pointed to by these 32 bits, this address is incremented by 4, loaded into the dma scripts pointer (dsp) register and becomes the current instruction pointer.
6-36 instruction set of the i/o processor 6.7 memory move instructions this scripts instruction allows the lsi53C810a to execute high-performance block moves of 32-bit data from one part of main memory to another. in this mode, the lsi53C810a is an independent, high-performance dma controller irrespective of scsi operations. since the registers of the lsi53C810a can be mapped into system memory, this scripts instruction also moves an lsi53C810a register to or from memory or another lsi53C810a register. for memory move instructions, bits 5 and 4 (siom and diom) in the dma mode (dmode) register determine whether the source or destination addresses reside in memory or i/o space. by setting these bits appropriately, data may be moved within memory space, within i/o space, or between the two address spaces. the memory move instruction is used to copy the speci?ed number of bytes from the source address to the destination address. allowing the lsi53C810a to perform memory moves frees the system processor for other tasks and moves data at higher speeds than available from current dma controllers. up to 16 mbytes may be transferred with one instruction. there are two restrictions: both the source and destination addresses must start with the same address alignment a[1:0]. if source and destination are not aligned, then an illegal instruction interrupt occurs. indirect addresses are not allowed. a burst of data is fetched from the source address, put into the dma fifo and then written out to the destination address. the move continues until the byte count decrements to zero, then another scripts instruction is fetched from system memory.
memory move instructions 6-37 figure 6.6 illustrates the register bit values that represent a memory move instruction. figure 6.6 memory to memory move instruction 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 dsps register dcmd register dbc register 24-bit memory move byte counter no flush 0 (reserved) 0 (reserved) 0 (reserved) 0 (reserved) 0 (reserved) 1 - instruction type - memory move 1 - instruction type - memory move 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 temp register
6-38 instruction set of the i/o processor the dma scripts pointer save (dsps) and data structure address (dsa) registers are additional holding registers used during the memory move. however, the contents of the data structure address (dsa) register are preserved. 6.7.1 first dword it[1:0] instruction type - memory move instruction [31:30] r reserved [29:25] these bits are reserved and must be zero. if any of these bits is set, an illegal instruction interrupt occurs. nf no flush 24 when this bit is set, the lsi53C810a performs a memory move (mmov) without ?ushing the prefetch unit (nfmmov). when this bit is cleared, the memory move instruction automatically ?ushes the prefetch unit. use the nfmmov if the source and destination are not within four instructions of the current mmov instruction. note: this bit has no effect unless the prefetch enable bit in the dma control (dcntl) register is set. for information on scripts instruction prefetching, see chapter 2, func- tional description. tc[23:0] transfer count [23:0] the number of bytes to transfer is stored in the lower 24 bits of the ?rst instruction word. 6.7.2 second dword dsps register [31:0] these bits contain the source address of the memory move. 6.7.3 third dword temp register [31:0] these bits contain the destination address for the memory move.
load and store instructions 6-39 6.7.4 read/write system memory from a scripts instruction by using the memory move instruction, single or multiple register values may be transferred to or from system memory. because the lsi53C810a responds to addresses as de?ned in the base address zero (i/o) or base address one (memory) registers, it can be accessed during a memory move operation if the source or destination address decodes to within the chips register space. if this occurs, the register indicated by the lower seven bits of the address is taken to be the data source or destination. in this way, register values are saved to system memory and later restored, and scripts can make decisions based on data values in system memory. the scsi first byte received (sfbr) is not writable using the cpu, and therefore not by a memory move. however, it can be loaded using scripts read/write operations. to load the sfbr with a byte stored in system memory, ?rst move the btye to an intermediate lsi53C810a register (for example, a scratch register), and then to the sfbr. the same address alignment restrictions apply to register access operations as to normal memory-to-memory transfers. 6.8 load and store instructions the load and store instruction provide a more ef?cient way to move data from/to memory to/from an internal register in the chip without using the normal memory move instruction. the load and store instructions are represented by two dword opcodes. the ?rst dword contains the dma command (dcmd) and dma byte counter (dbc) register values. the second dword contains the dma scripts pointer save (dsps) value. this is either the actual memory location of where to load and store, or the offset from the data structure address (dsa) , depending on the value of bit 28 (dsa relative). a maximum of 4 bytes may be moved with these instructions. the register address and memory address must have the same byte alignment, and the count set such that it does not cross dword boundaries. the destination memory address in the store instruction and the source address in the load instruction may not map back to the
6-40 instruction set of the i/o processor operating register set of the chip. if it does, a pci illegal read/write cycle occur, the chip issues an interrupt (illegal instruction detected) immediately following. the siom and diom bits in the dma mode (dmode) register determine whether the destination or source address of the instruction is in memory space or i/o space. the load and store utilizes the pci commands for i/o read and i/o write to access the i/o space. 6.8.1 first dword it[2:0] instruction type [31:29] these bits should be 111, indicating the load and store instruction. dsa dsa relative 28 when this bit is cleared, the value in the dma scripts pointer save (dsps) is the actual 32-bit memory address used to perform the load and store to/from. when this bit is set, the chip determines the memory address to perform the load and store to/from by adding the 24-bit signed offset value in the dma scripts pointer save (dsps) to the data structure address (dsa) . r reserved [27:26] nf no flush (store instruction only) 25 when this bit is set, the lsi53C810a performs a store without ?ushing the prefetch unit. when this bit is cleared, the store instruction automatically ?ushes the prefetch unit. use no flush if the source and destination are not within four instructions of the current store instruction. bits a1, a0 number of bytes allowed to load/store 00 one, two, three or four 01 one, two, or three 10 one or two 11 one
load and store instructions 6-41 note: this bit has no effect unless the prefetch enable bit in the dma control (dcntl) register is set. for information on scripts instruction prefetching, see chapter 2, func- tional description. ls load and store 24 when this bit is set, the instruction is a load. when cleared, it is a store. r reserved 23 ra[6:0] register address [22:16] a[6:0] select the register to load and store to/from within the lsi53C810a. note: it is not possible to load the scsi first byte received (sfbr) register, although the sfbr contents may be stored in another location. r reserved [15:3] bc byte count [2:0] this value is the number of bytes to load and store. 6.8.2 second dword memory/io address / dsa offset [31:0] this is the actual memory location of where to load and store, or the offset from the data structure address (dsa) register value.
6-42 instruction set of the i/o processor figure 6.7 illustrates the register bit values that represent a load and store instruction. figure 6.7 load and store instruction format 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 dsps register - memory/ i/o address/dsa offset dcmd register dbc register a0 a1 a2 a3 a4 a5 a6 0 (reserved) load/store no flush 0 - reserved 0 - reserved dsa relative 1 1 1 register address instruction type - load and store reserved (must be 0) byte count (number of bytes to load/store)
lsi53C810a pci to scsi i/o processor 7-1 chapter 7 electrical characteristics this chapter speci?es the lsi53C810a electrical and mechanical characteristics. it is divided into the following sections: section 7.1, dc characteristics section 7.2, tolerant technology section 7.3, ac characteristics section 7.4, pci interface timing diagrams section 7.5, pci interface timing section 7.6, scsi timings section 7.7, package drawings 7.1 dc characteristics this section of the manual describes the lsi53C810a dc characteristics. table 7.1 through table 7.11 give the current and voltage speci?cations.
7-2 electrical characteristics table 7.1 absolute maximum stress ratings symbol parameter min max unit test conditions t stg storage temperature - 55 150 cC v dd supply voltage - 0.5 7.0 v C v in input voltage v ss - 0.5 v dd +0.5 v C i lp 1 1. - 2v dc characteristics 7-3 table 7.3 scsi signalssd[7:0]/, sdp/, sreq/, sack/ symbol parameter min max unit test conditions v ih input high voltage 2.0 v dd +0.5 v C v il input low voltage v ss - 0.5 0.8 v C v oh 1 1. tolerant active negation enabled. output high voltage 2.5 3.5 v 2.5 ma v ol output low voltage v ss 0.5 v 48 ma i in input leakage - 10 10 m aC i oz 3-state leakage - 10 10 m aC table 7.4 scsi signalssmsg, si_o/, sc_d/, satn/, sbsy/, ssel/, srst/ symbol parameter min max unit test conditions v ih input high voltage 2.0 v dd +0.5 v C v il input low voltage v ss - 0.5 0.8 v C v ol output low voltage v ss 0.5 v 48 ma i in input leakage (srst/ only) - 10 - 500 10 - 50 m a m a C i oz 3-state leakage - 10 10 m aC table 7.5 input signalsclk, sclk, gnt/, idsel, rst/, testin symbol parameter min max unit test conditions v ih input high voltage 2.0 v dd +0.5 v C v il input low voltage v ss - 0.5 0.8 v C i in input leakage - 1.0 1.0 m aC note: clk, sclk, gnt/ and idsel have 100 m a pull-ups that are enabled when testin is low. testin has a 100 m a pull-up that is always enabled.
7-4 electrical characteristics table 7.6 capacitance symbol parameter min max unit test conditions c i input capacitance of input pads C 7 pf C c io input capacitance of i/o pads C 10 pf C table 7.7 output signalsmac/_testout, req/ symbol parameter min max unit test conditions v oh output high voltage 2.4 v dd v - 16 ma v ol output low voltage v ss 0.4 v 16 ma i oh output high current - 8 C ma v dd - 0.5 v i ol output low current 16 C ma 0.4 v i oz 3-state leakage - 10 10 m aC note: req/ has a 100 m a pull-up that is enabled when testin is low. table 7.8 output signalirq/ symbol parameter min max unit test conditions v oh output high voltage 2.4 v dd v - 8ma v ol output low voltage v ss 0.4 v 8 ma i oh output high current - 4 C ma v dd - 0.5 v i ol output low current 8 C ma 0.4 v i oz 3-state leakage - 10 10 m aC note: irq/ has a 100 m a pull-up that is enabled when testin is low. irq/ can be enabled with a register as an open drain with an internal 100 m a pull-up.
dc characteristics 7-5 table 7.9 output signalserr/ symbol parameter min max unit test conditions v ol output low voltage v ss 0.4 v 16 ma i ol output low current 16 C ma 0.4 v i oz 3-state leakage - 10 10 m aC table 7.10 bidirectional signalsad[31:0], c_be/[3:0], frame/, irdy/, trdy/, devsel/, stop/, perr/, par/ symbol parameter min max unit test conditions v ih input high voltage 2.0 v dd +0.5 v C v il input low voltage v ss - 0.5 0.8 v C v oh output high voltage 2.4 v dd v16ma v ol output low voltage v ss 0.4 v 16 ma i oh output high current - 8 C ma v dd - 0.5 note: all the signals in this table have 100 m a pull-ups that are enabled when testin is low.
7-6 electrical characteristics 7.2 tolerant technology the lsi53C810a features tolerant technology, which includes active negation on the scsi drivers and input signal ?ltering on the scsi receivers. active negation actively drives the scsi request, acknowledge, data, and parity signals high rather than allowing them to be passively pulled up by terminators. table 7.12 provides electrical characteristics for se scsi signals. figure 7.1 through figure 7.5 show the effect of tolerant technology on the dc characteristics of the chip. table 7.11 bidirectional signalsgpio0_fetch/, gpio1_master/ symbol parameter min max unit test conditions v ih input high voltage 2.0 v dd +0.5 v C v il input low voltage v ss - 0.5 0.8 v C v oh output high voltage 2.4 v dd v - 16 ma v ol output low voltage v ss 0.4 v 16 ma i oh output high current - 8 C ma 2.4 v i ol output low current 16 C ma 0.4 v i in input leakage - 10 10 m aC i oz 3-state leakage - 10 10 m aC note: all the signals in this table have 100 m a pull-ups that are enabled when testin is low.
tolerant technology 7-7 table 7.12 tolerant technology electrical characteristics symbol parameter min max unit test conditions v oh 1 1. active negation outputs only: data, parity, sreq/, sack/. output high voltage 2.5 3.5 v i oh = 2.5 ma v ol output low voltage 0.1 0.5 v i ol =48ma v ih input high voltage 2.0 7.0 v C v il input low voltage - 0.5 0.8 v referenced to v ss v ik input clamp voltage - 0.66 - 0.77 v v dd = 4.75; i i = - 20 ma v th threshold, high to low 1.1 1.3 v C v tl threshold, low to high 1.5 1.7 v C v th Cv tl hysteresis 200 400 mv C i oh 1 output high current 2.5 24 ma v oh = 2.5 v i ol output low current 100 200 ma v ol = 0.5 v i osh 1 short-circuit output high current C 625 ma output driving low, pin shorted to v dd supply 2 2. single pin only; irreversible damage may occur if sustained for one second. i osl short-circuit output low current C 95 ma output driving high, pin shorted to v ss supply i lh input high leakage C 10 m a - 0.5 < v dd < 5.25 v pin = 2.7 v i ll input low leakage C - 10 m a - 0.5 < v dd < 5.25 v pin = 0.5 v r i input resistance 20 C m w scsi pins 3 3. scsi reset pin has 10 k w pull-up resistor. note: these values are guaranteed by periodic characterization; they are not 100% tested on every device. c p capacitance per pin C 10 pf pqfp t r 1 rise time, 10% to 90% 9.7 18.5 ns figure 7.1 t f fall time, 90% to 10% 5.2 14.7 ns figure 7.1 dv h /dt slew rate, low to high 0.15 0.49 v/ns figure 7.1 dv l /dt slew rate, high to low 0.19 0.67 v/ns figure 7.1 esd electrostatic discharge 2 C kv mil-std-883c; 3015-7 latch-up 100 C ma C filter delay 20 30 ns figure 7.2 extended ?lter delay 40 60 ns figure 7.2
7-8 electrical characteristics figure 7.1 rise and fall time test conditions figure 7.2 scsi input filtering figure 7.3 hysteresis of scsi receiver 2.5 v 47 w 20 pf + - req/ or ack/ input t 1 v th note: t 1 is the input ?ltering period. 1 receiving logic level 0 1.1 1.3 1.5 1.7 input voltage (volts)
tolerant technology 7-9 figure 7.4 input current as a function of input voltage figure 7.5 output current as a function of output voltage +40 +20 0 - 20 - 40 - 4 0 4 8 12 16 - 0.7 v 8.2 v high-z output active input voltage (volts) input current (milliamperes) 14.4 v output sink current (milliamperes) - 800 - 600 - 400 - 200 0 012345 output voltage (volts) output source current (milliamperes) 20 40 60 80 100 012345 output voltage (volts) 0
7-10 electrical characteristics 7.3 ac characteristics the ac characteristics described in this section apply over the entire range of operating conditions (refer to section 7.1, dc characteristics ). chip timings are based on simulation at worst case voltage, temperature, and processing. timings were developed with a load capacitance of 50 pf. table 7.13 and figure 7.6 provide clock timing data. figure 7.6 clock timing table 7.13 clock timing symbol parameter min max unit t 1 bus clock cycle time 30 dc ns scsi clock cycle time (sclk) 1 1. this parameter must be met to ensure scsi timings are within speci?cation. 25 60 ns t 2 clk low time 2 2. duty cycle not to exceed 60/40. 12 C ns sclk low time 2 10 33 ns t 3 clk high time 2 12 C ns sclk high time 2 10 33 ns t 4 clk slew rate 1 C v/ns sclk slew rate 1 C v/ns clk, sclk t 1 t 3 t 4 t 2
ac characteristics 7-11 table 7.14 and figure 7.7 provide reset input timing data. figure 7.7 reset input table 7.15 and figure 7.8 provide interrupt output timing data. figure 7.8 interrupt output waveforms table 7.14 reset input timing symbol parameter min max unit t 1 reset pulse width 10 C t clk t 2 reset deasserted setup to clk high 0 C ns t 2 1. when enabled. clk rst/ mad 1 valid data t 3 t 4 t 1 table 7.15 interrupt output symbol parameter min max unit t 1 clk high to irq/ low C 20 ns t 2 clk high to irq/ high C 40 ns t 3 irq/ deassertion time 3 C clk clk irq/ t 3 t 1 t 2
7-12 electrical characteristics 7.4 pci interface timing diagrams figure 7.9 through figure 7.18 represent signal activity when the lsi53C810a accesses the pci bus. the timings for the pci bus interface are listed on page 7-26 . the following timing diagrams are included in this section: target timing pci con?guration register read pci con?guration register write target read target write initiator timing opcode fetch, nonburst burst opcode fetch back-to-back read back-to-back write burst read burst write
pci interface timing diagrams 7-13 7.4.1 target timing figure 7.9 through figure 7.12 describe target timing. figure 7.9 pci con?guration register read data out byte enable t 2 in out t 1 t 2 t 1 t 3 t 2 t 1 t 1 t 2 t 2 t 3 t 3 t 2 t 1 t 3 t 2 t 1 clk (driven by system) frame/ (driven by system) c_be/ (driven by master) pa r (driven by master-addr; lsi53C810a-data) irdy/ (driven by master) trdy/ (driven by lsi53C810a) stop/ (driven by lsi53C810a) devsel/ (driven by lsi53C810a) idsel (driven by master) cmd addr in ad/ (driven by master-addr; lsi53C810a-data)
7-14 electrical characteristics figure 7.10 pci con?guration register write t 1 t 2 clk (driven by system) frame/ (driven by master) addr in data in byte enable t 2 t 1 t 2 t 1 t 1 t 2 t 2 t 3 t 2 t 1 t 3 t 2 t 1 ad/ (driven by master) c_be/ (driven by master) par/ (driven by master) irdy/ (driven by master) trdy/ (driven by lsi53C810a) stop/ (driven by lsi53C810a) devsel/ (driven by lsi53C810a) idsel (driven by master) t 1 t 2 cmd
pci interface timing diagrams 7-15 figure 7.11 target read data byte enable t 2 t 1 t 2 t 1 t 2 t 1 t 1 t 2 t 2 t 3 t 2 t 1 t 3 clk (driven by system) frame/ (driven by master) ad/ (driven by master-addr; c_be/ (driven by master) pa r (driven by master-addr; irdy/ (driven by master) trdy/ (driven by lsi53C810a) stop/ (driven by lsi53C810a) devsel/ (driven by lsi53C810a) out t 3 in out t 3 lsi53C810a-data) lsi53C810a-data) cmd t 3 addr in
7-16 electrical characteristics figure 7.12 target write byte enable cmd t 2 t 1 t 2 t 1 t 2 t 1 t 1 t 2 t 2 t 3 t 2 t 1 t 3 clk (driven by system) frame/ (driven by master) ad/ (driven by master) c_be/ (driven by master) par/ (driven by master) irdy/ (driven by master) trdy/ (driven by lsi53C810a) stop/ (driven by lsi53C810a) devsel/ (driven by lsi53C810a) t 2 data in t 1 t 2 t 1 addr in
pci interface timing diagrams 7-17 7.4.2 initiator timing figure 7.13 through figure 7.18 describe initiator timing. figure 7.13 opcode fetch, nonburst clk (driven by system) frame/ (driven by lsi53C810a) ad/ (driven by lsi53C810a- c_be/ (driven by lsi53C810a) par/ (driven by lsi53C810a- irdy/ (driven by lsi53C810a) trdy/ (driven by target) stop/ (driven by target) devsel/ (driven by target) addr/ target-data) addr; target-data) gnt/ (driven by arbiter) req/ (driven by lsi53C810a) gpio1_master/ (driven by lsi53C810a) gpio0_fetch/ (driven by lsi53C810a) addr out addr out cmd be be cmd t 1 t 2 t 3 t 10 t 8 t 7 t 9 t 4 t 6 t 5 t 1 t 1 t 1 t 2 t 2 t 2 t 3 t 3 t 3 t 3 t 3 data in data in
7-18 electrical characteristics figure 7.14 burst opcode fetch clk (driven by system) frame/ (driven by lsi53C810a) ad/ (driven by lsi53C810a- c_be/ (driven by lsi53C810a) pa r (driven by lsi53C810a- irdy/ (driven by lsi53C810a) trdy/ (driven by target) stop/ (driven by target) devsel/ (driven by target) addr; target-data) addr; target-data) gnt/ (driven by arbiter) req/ (driven by lsi53C810a) gpio1_master/ (driven by lsi53C810a) gpio0_fetch/ (driven by lsi53C810a) t 7 t 8 t 9 t 10 t 6 t 5 t 4 t 3 t 2 t 1 in be cmd addr out out in t 3 t 3 t 3 t 3 t 3 t 3 t 2 t 2 t 2 t 1 t 1 t 1 data in data in
pci interface timing diagrams 7-19 figure 7.15 back-to-back read clk (driven by system) frame/ (driven by lsi53C810a) ad/ (driven by lsi53C810a- c_be/ (driven by lsi53C810a) pa r (driven by lsi53C810a- irdy/ (driven by lsi53C810a) trdy/ (driven by target) stop/ (driven by target) devsel/ (driven by target) addr; target-data ) addr; target-data) gnt/ (driven by arbiter) req/ (driven by lsi53C810a) gpio1_master/ (driven by lsi53C810a) gpio0_fetch/ (driven by lsi53C810a ) in cmd t 9 data in in out t 6 t 5 t 3 t 4 t 3 t 3 t 3 t 3 t 1 t 2 t 2 t 1 t 2 t 1 t 2 t 10 t 1 data in out be cmd be addr out addr out
7-20 electrical characteristics figure 7.16 back-to-back write clk (driven by system) frame/ (driven by lsi53C810a) ad/ (driven by lsi53C810a) c_be/ (driven by lsi53C810a) par/ (driven by lsi53C810a) irdy/ (driven by lsi53C810a) trdy/ (driven by target) stop/ (driven by target) devsel/ (driven by target) gnt/ (driven by arbiter) req/ (driven by lsi53C810a) gpio1_master/ (driven by lsi53C810a) gpio0_fetch/ (driven by lsi53C810a) t 3 t 2 t 4 t 1 t 5 t 6 t 9 t 10 addr out data out cmd be addr out data out cmd be t 3 t 3 t 3 t 3 t 3 t 3 t 1 t 2 t 3
pci interface timing diagrams 7-21 this page intentionally left blank.
7-22 electrical characteristics figure 7.17 burst read t 1 t 2 clk gpio0_fetch/ (driven by lsi53C810a) gpio1_master/ (driven by lsi53C810a) req/ (driven by lsi53C810a) pa r (driven by lsi53C810a- irdy/ (driven by lsi53C810a) trdy/ (driven by target) stop/ (driven by target) devsel/ (driven by target) ad (driven by lsi53C810a- c_be/ (driven by lsi53C810a) t 3 gnt/ (driven by arbiter) frame/ (driven by lsi53C810a) t 2 t 2 addr; target-data) addr; target-data) be t 1 data in out in cmd cmd addr out addr out
pci interface timing diagrams 7-23 figure 7.17 burst read (cont.) t 1 cmd t 2 be data in out in in out in be addr out clk gpio0_fetch/ (driven by lsi53C810a) gpio1_master/ (driven by lsi53C810a) req/ (driven by lsi53C810a) pa r (driven by lsi53C810a- irdy/ (driven by lsi53C810a) trdy/ (driven by target) stop/ (driven by target) devsel/ (driven by target) ad (driven by lsi53C810a- c_be/ (driven by lsi53C810a) gnt/ (driven by arbiter) frame/ (driven by lsi53C810a) addr; target-data) addr; target-data)
7-24 electrical characteristics figure 7.18 burst write clk (driven by system) gpio0_ fetch/ pa r (driven by lsi53C810a) irdy/ (driven by lsi53C810a) trdy/ (driven by target) stop/ (driven by target) devsel/ (driven by target) ad (driven by lsi53C810a) c_be/ (driven by lsi53C810a) t 3 frame/ (driven by lsi53C810a) (driven by lsi53C810a) t 3 t 3 t 3 t 3 t 3 t 3 req/ (driven by lsi53C810a) t 6 gpio1_ master/ (driven by lsi53C810a) t 9 t 10 addr out data out be addr out cmd cmd gnt/ (driven by arbiter) t 4 t 5
pci interface timing diagrams 7-25 figure 7.18 burst write (cont.) t 1 t 2 addr out be data out cmd t 1 t 2 be data out data out clk (driven by system) gpio0_ fetch/ pa r (driven by lsi53C810a) irdy/ (driven by lsi53C810a) trdy/ (driven by target) stop/ (driven by target) devsel/ (driven by target) ad (driven by lsi53C810a) c_be/ (driven by lsi53C810a) gnt/ (driven by arbiter) frame/ (driven by lsi53C810a) (driven by lsi53C810a) req/ (driven by lsi53C810a) gpio1_ master/ (driven by lsi53C810a)
7-26 electrical characteristics 7.5 pci interface timing table 7.16 describes the pci timing data for the lsi53C810a. table 7.16 pci timing symbol parameter min max unit t 1 shared signal input setup time 7 C ns t 2 shared signal input hold time C C ns t 3 clk to shared signal output valid C 11 ns t 4 side signal input setup time 10 C ns t 5 side signal input hold time C C ns t 6 clk to side signal output valid C 12 ns t 7 clk high to fetch/ low C 20 ns t 8 clk high to fetch/ high C 20 ns t 9 clk high to master/ low C 20 ns t 10 clk high to master/ high C 20 ns
scsi timings 7-27 7.6 scsi timings tables 7.17 through 7.23 and figures 7.19 through 7.23 describe the lsi53C810a scsi timing data. figure 7.19 initiator asynchronous send table 7.17 initiator asynchronous send (5 mbytes/s) symbol parameter min max unit t 1 sack/ asserted from sreq/ asserted 10 C ns t 2 sack/ deasserted from sreq/ deasserted 10 C ns t 3 data setup to sack/ asserted 55 C ns t 4 data hold from sreq/ deasserted 20 C ns sreq/ sack/ sd[7:0], sdp/ t 1 t 2 t 3 t 4 n + 1 n valid n valid n + 1 n + 1
7-28 electrical characteristics figure 7.20 initiator asynchronous receive table 7.18 initiator asynchronous receive (5 mbytes/s) symbol parameter min max unit t 1 sack/ asserted from sreq/ asserted 10 C ns t 2 sack/ deasserted from sreq/ deasserted 10 C ns t 3 data setup to sreq/ asserted 0 C ns t 4 data hold from sack/ asserted 0 C ns sreq/ sack/ sd[7:0], sdp/ t 3 t 2 t 1 valid n valid n + 1 n + 1 n t 4 n + 1 n
scsi timings 7-29 figure 7.21 target asynchronous send table 7.19 target asynchronous send (5 mbytes/s) symbol parameter min max unit t 1 sack/ asserted from sreq/ asserted 10 C ns t 2 sack/ deasserted from sreq/ deasserted 10 C ns t 3 data setup to sreq/ asserted 55 C ns t 4 data hold from sack/ asserted 20 C ns sreq/ sack/ sd[7:0], sdp/ t 1 t 2 n + 1 valid n + 1 valid n n t 3 t 4 n n + 1
7-30 electrical characteristics figure 7.22 target asynchronous receive figure 7.23 initiator and target synchronous transfers table 7.20 target asynchronous receive (5 mbytes/s) symbol parameter min max unit t 1 sreq/ deasserted from sack/ asserted 10 C ns t 2 sreq/ asserted from sack/ deasserted 10 C ns t 3 data setup to sreq/ asserted 0 C ns t 4 data hold from sack/ asserted 0 C ns sreq/ sack/ sd[7:0], sdp/ n n + 1 t 2 t 1 t 3 t 4 valid n valid n + 1 n + 1 n sreq/ or sack/ send data sd[7:0], sdp/ receive data sd[15:0]/, sdp[1:0]/ t 3 t 4 t 1 t 2 t 5 t 6 n n + 1 valid n valid n + 1 valid n valid n + 1
scsi timings 7-31 table 7.21 scsi-1 transfers (se, 5.0 mbytes/s) symbol parameter min max unit t 1 send sreq/ or sack/ assertion pulse width 90 C ns t 2 send sreq/ or sack/ deassertion pulse width 90 C ns t 1 receive sreq/ or sack/ assertion pulse width 90 C ns t 2 receive sreq/ or sack/ deassertion pulse width 90 C ns t 3 send data setup to sreq/ or sack/ asserted 55 C ns t 4 send data hold from sreq/ or sack/ asserted 100 C ns t 5 receive data setup to sreq/ or sack/ asserted 0 C ns t 6 receive data hold from sreq/ or sack/ asserted 45 C ns table 7.22 scsi-2 fast transfers (10.0 mbytes/s (8-bit transfers), 40 mhz clock) symbol parameter min max unit t 1 send sreq/ or sack/ assertion pulse width 35 C ns t 2 send sreq/ or sack/ deassertion pulse width 35 C ns t 1 receive sreq/ or sack/ assertion pulse width 20 C ns t 2 receive sreq/ or sack/deassertion pulse width 20 C ns t 3 send data setup to sreq/ or sack/ asserted 33 C ns t 4 send data hold from sreq/ or sack/ asserted 45 C ns t 5 receive data setup to sreq/ or sack/ asserted 0 C ns t 6 receive data hold from sreq/ or sack/ asserted 10 C ns
7-32 electrical characteristics table 7.23 scsi-2 fast transfers (10.0 mbytes/s (8-bit transfers), 50 mhz clock) symbol parameter min max unit t 1 send sreq/ or sack/ assertion pulse width 35 C ns t 2 send sreq/ or sack/ deassertion pulse width 35 C ns t 1 receive sreq/ or sack/ assertion pulse width 20 C ns t 2 receive sreq/ or sack/deassertion pulse width 20 C ns t 3 send data setup to sreq/ or sack/ asserted 33 C ns t 4 send data hold from sreq/ or sack/ asserted 40 C ns t 5 receive data setup to sreq/ or sack/ asserted 0 C ns t 6 receive data hold from sreq/ or sack/ asserted 10 C ns
package drawings 7-33 7.7 package drawings figure 7.24 illustrates the mechanical drawing for the lsi53C810a.
7-34 electrical characteristics figure 7.24 100 ld pqfp (ud) mechanical drawing (sheet 1 of 2) impor tant: this drawing may not be the latest version. for board layout and manufacturing, obtain the most recent engineering drawings from your lsi logic marketing representative by requesting the outline drawing for package code ud.
package drawings 7-35 figure 7.24 100 ld pqfp (ud) mechanical drawing (sheet 2 of 2) impor tant: this drawing may not be the latest version. for board layout and manufacturing, obtain the most recent engineering drawings from your lsi logic marketing representative by requesting the outline drawing for package code ud.
7-36 electrical characteristics
lsi53C810a pci to scsi i/o processor a-1 appendix a register summary table a.1 lists the lsi53C810a con?guration registers by register name. table a.1 con?guration registers register name address read/write page base address one (memory) 0x14 read/write 3-17 base address zero (i/o) 0x10 read/write 3-17 cache line size 0x0c read/write 3-16 class code 0x09 read only 3-15 command 0x04 read/write 3-11 device id 0x02 read only 3-11 header type 0x0e read only 3-17 interrupt line 0x3c read/write 3-18 interrupt pin 0x3d read only 3-18 latency timer 0x0d read/write 3-16 max_lat 0x3f read only 3-19 min_gnt 0x3e read only 3-19 revision id 0x08 read only 3-15 status 0x06 read/write 3-13 vendor id 0x00 read only 3-11
a-2 register summary table a.2 lists the lsi53C810a scsi registers by register name. table a.2 scsi registers register name address read/write page adder sum output (adder) 0x3cC0x3f (0xbcC0xbf) read only 5-47 chip test five (ctest5) 0x22 (0xa2) read/write 5-36 chip test four (ctest4) 0x21 (0xa1) read/write 5-34 chip test one (ctest1) 0x19 (0x99) read only 5-30 chip test six (ctest6) 0x23 (0xa3) read/write 5-37 chip test three (ctest3) 0x1b (0x9b) read/write 5-32 chip test two (ctest2) 0x1a (0x9a) read only 5-30 chip test zero (ctest0) 0x18 (0x98) read/write 5-29 data structure address (dsa) 0x10C0x13 (0x90C0x93) read/write 5-26 dma byte counter (dbc) 0x24C0x26 (0xa4C0xa6) read/write 5-38 dma command (dcmd) 0x27 (0xa7) read/write 5-39 dma control (dcntl) 0x3b (0xbb) read/write 5-45 dma fifo (dfifo) 0x20 (0xa0) read/write 5-33 dma interrupt enable (dien) 0x39 (0xb9) read/write 5-44 dma mode (dmode) 0x38 (0xb8) read/write 5-41 dma next address (dnad) 0x28C0x2b (0xa8C0xab) read/write 5-39 dma scripts pointer (dsp) 0x2cC0x2f (0xacC0xaf) read/write 5-39 dma scripts pointer save (dsps) 0x30C0x33 (0xb0C0xb3) read/write 5-40 dma status (dstat) 0x0c (0x8c) read only 5-20 general purpose (gpreg) 0x07 (0x87) read/write 5-16 general purpose pin control (gpcntl) 0x47 (0xc7) read/write 5-56 interrupt status (istat) 0x14 (0x94) read/write 5-26 memory access control (macntl) 0x46 (0xc6) read/write 5-55 response id (respid) 0x4a (0xca) read/write 5-59
register summary a-3 scratch byte register (sbr) 0x3a (0xba) read/write 5-45 scratch register a (scratcha) 0x34C0x37 (0xb4C0xb7) read/write 5-41 scsi bus control lines (sbcl) 0x0b (0x8b) read only 5-20 scsi bus data lines (sbdl) 0x58 (0xd8) read only 5-66 scsi chip id (scid) 0x04 (0x84) read/write 5-11 scsi control one (scntl1) 0x01 (0x81) read/write 5-6 scsi control three (scntl3) 0x03 (0x83) read/write 5-9 scsi control two (scntl2) 0x02 (0x82) read/write 5-9 scsi control zero (scntl0) 0x00 (0x80) read/write 5-2 scsi destination id (sdid) 0x06 (0x86) read/write 5-15 scsi first byte received (sfbr) 0x08 (0x88) read/write 5-17 scsi input data latch (sidl) 0x50 (0xd0) read only 5-65 scsi interrupt enable one (sien1) 0x41 (0xc1) read/write 5-50 scsi interrupt enable zero (sien0) 0x40 (0xc0) read/write 5-48 scsi interrupt status one (sist1) 0x43 (0xc3) read only 5-53 scsi interrupt status zero (sist0) 0x42 (0xc2) read only 5-51 scsi longitudinal parity (slpar) 0x44 (0xc4) read/write 5-54 scsi output control latch (socl) 0x09 (0x89) read/write 5-18 scsi output data latch (sodl) 0x54 (0xd4) read/write 5-66 scsi selector id (ssid) 0x0a (0x8a) read only 5-19 scsi status one (sstat1) 0x0e (0x8e) read only 5-24 scsi status two (sstat2) 0x0f (0x8f) read only 5-25 scsi status zero (sstat0) 0x0d (0x8d) read only 5-22 scsi test one (stest1) 0x4d (0xcd) read/write 5-61 scsi test three (stest3) 0x4f (0xcf) read/write 5-63 table a.2 scsi registers register name address read/write page
a-4 register summary scsi test two (stest2) 0x4e (0xce) read/write 5-62 scsi test zero (stest0) 0x4c (0xcc) read only 5-60 scsi timer one (stime1) 0x49 (0xc9) read/write 5-58 scsi timer zero (stime0) 0x48 (0xc8) read/write 5-57 scsi transfer (sxfer) 0x05 (0x85) read/write 5-12 temporary (temp) 0x1cC0x1f (0x9cC0x9f) read/write 5-33 table a.2 scsi registers register name address read/write page
lsi53C810a pci to scsi i/o processor ix-1 index symbols (ad[31:0]) 4-6 (baro[31:0]) 3-17 (barz[31:0]) 3-17 (cls[7:0]) 3-16 (fmt) 5-29 (ht[7:0]) 3-17 (il[7:0]) 3-18 (ip[7:0]) 3-18 (lt[7:0]) 3-16 (mg[7:0]) 3-19 (ml[7:0]) 3-19 numerics encoded chip scsi id, bits 5-12 3.3/5 volt pci interface 2-5 3-state 4-3 a aap bit 5-5 abort operation bit 5-26 aborted bit 5-21 , 5-44 abrt bit 5-21 , 5-26 , 5-44 ac characteristics 7-10 ack bit 5-18 , 5-20 adb bit 5-6 adck bit 5-36 adder register 5-47 adder sum output register 5-47 aesp bit 5-7 aip bit 5-23 arb[1:0] bits 5-3 arbitration arbitration mode bits 5-3 in progress bit 5-23 mode bits 5-3 priority encoder test bit 5-60 art bit 5-60 assert even scsi parity (force bad parity) bit 5-7 assert satn/ on parity error bit 5-5 assert scsi ack bit 5-18 assert scsi atn/ bit 5-18 assert scsi bsy/ bit 5-18 assert scsi c_d/ bit 5-18 assert scsi data bus bit 5-6 assert scsi i_o/ bit 5-18 assert scsi msg/ bit 5-18 assert scsi req/ signal bit 5-18 assert scsi rst/ signal bit 5-7 assert scsi sel/ bit 5-18 atn bit 5-18 , 5-20 b base address register one (baro[31:0]) 3-17 zero - i/o (barz[31:0]) 3-17 bbck bit 5-36 bdis bit 5-34 benefits summary 1-3 bf bit 5-21 , 5-44 bidirectional 4-3 bl[1:0] bits 5-41 block move instructions 6-5 bo[6:0] bits 5-33 bof bit 5-43 bsy bit 5-18 , 5-20 burst disable bit 5-34 burst length bits 5-41 burst mode fetch enable bit 5-43 bus command and byte enables 4-6 bus fault bit 5-21 , 5-44 byte empty in dma fifo (fmt) 5-29 byte empty in dma fifo bits 5-30 byte full in dma fifo bits 5-30 byte offset counter bits 5-33 c c_be/[3:0] 4-6 c_d bit 5-18 , 5-20 , 5-25 cache line size (cls[7:0]) 3-16 cache line size enable bit 5-45 cache mode, see pci cache mode 3-3 ccf[2:0] bits 5-10 chip revision level bits 5-32 chip test five register 5-36 chip test four register 5-34 chip test one register 5-30 chip test six register 5-37 chip test two register 5-30 chip test zero register 5-29 chip type bits 5-55 cio bit 5-31 clear scsi fifo bit 5-64 clk 4-5 clock 4-5
ix-2 index clock address incrementor bit 5-36 clock byte counter bit 5-36 clock conversion factor bits 5-10 clse bit 5-45 cm bit 5-31 cmp bit 5-48 , 5-51 com bit 5-47 con bit 5-7 , 5-28 configured as i/o bit 5-31 configured as memory bit 5-31 connected bit 5-7 , 5-28 csf bit 5-64 ctest0 register 5-29 ctest1 register 5-30 ctest2 register 5-30 ctest4 register 5-34 ctest5 register 5-36 ctest6 register 5-37 cycle frame 4-7 d dack bit 5-31 data acknowledge status bit 5-31 data path 2-8 data request status bit 5-31 data structure address register 5-26 data transfer direction bit 5-30 datard bit 5-56 datawr bit dwr bit 5-56 dbc register 5-38 dc characteristics 7-1 dcmd register 5-39 dcntl register 5-45 ddir bit 5-30 , 5-37 destination i/o-memory enable bit 5-42 determining the data transfer rate 2-13 device select 4-7 devsel/ 4-7 df[7:0] bits 5-37 dfe bit 5-21 dfifo register 5-33 dhp bit 5-6 dien register 5-44 diffsens scsi signal 7-3 diom bit 5-42 dip bit 5-29 disable halt on parity error or atn bit 5-6 disable single initiator response bit 5-64 dma byte counter register 5-38 dma command register 5-39 dma control register 5-45 dma core 2-2 dma direction bit 5-37 dma fifo 2-8 dma fifo bits 5-37 dma fifo empty bit 5-21 dma fifo register 5-33 dma interrupt enable register 5-44 dma interrupt pending bit 5-29 dma mode register 5-41 dma next address register 5-39 dma scripts pointer register 5-39 dma scripts pointer save register 5-40 dma status register 5-20 dmode register 5-41 dnad register 5-39 drd bit 5-56 dreq bit 5-31 dsa register 5-26 dsi bit 5-64 dsp register 5-39 dsps register 5-40 dstat register 5-20 e ease of use 1-4 enable parity checking bit 5-5 enable read line bit 5-42 enable read multiple bit 5-43 enable response to reselection bit 5-11 enable response to selection bit 5-11 encoded destination scsi id bits 5-15 , 5-19 epc bit 5-5 erl bit 5-42 exc bit 5-6 ext bit 5-63 extend sreq/sack filtering bit 5-63 extra clock cycle of data setup bit 5-6 f fbl[2:0] bits 5-36 fetch enable bit 5-57 fetch opcode bursting 2-4 ff[3:0] bits 5-24 ffl[3:0] bits 5-30 fifo byte control bits 5-36 fifo flags bits 5-24 fmt[3:0] bits 5-30 frame/ 4-7 function complete bit 5-48 , 5-51 g gen bit 5-50 , 5-54 gen[3:0] bits 5-58 general purpose bits 5-16 general purpose pin control register 5-56 general purpose register 5-16 general purpose timer expired bit 5-50 , 5-54 general purpose timer period bits 5-58 gnt/ 4-8 gpcntl register 5-56 gpio enable bits 5-57 gpio[1:0] bits 5-16 gpio_en[1:0] bits 5-57 gpreg register 5-16 grant 4-8 h halt scsi clock bit hsc bit 5-64 handshake-to-handshake timer expired bit 5-50 , 5-54 handshake-to-handshake timer period bits 5-57 header type (ht[7:0]) 3-17 high impedance mode bit 5-35 hth bit 5-50 , 5-54
index ix-3 i i/o bit 5-25 i/o instructions 6-13 i_o bit 5-18 iarb bit 5-7 idsel 4-7 iid bit 5-22 , 5-44 illegal instruction detected bit 5-22 , 5-44 immediate arbitration bit 5-7 initialization device select 4-7 initiator mode phase mismatch 5-51 initiator ready 4-7 input 4-3 instructions block move 6-5 i/o 6-13 load and store 6-39 memory move 6-36 read/write 6-23 transfer control 6-27 interrupt line 3-18 pin (ip[7:0]) 3-18 interrupt status register 5-26 interrupt-on-the-fly bit 5-28 interrupts fatal vs. nonfatal interrupts 2-18 halting 2-20 irq disable bit 2-17 , 5-46 masking 2-18 polling vs. hardware 2-15 registers 2-16 stacked interrupts 2-19 intf bit 5-28 irdy/ 4-7 irq disable bit 5-46 irq mode bit 5-46 irqd bit 5-46 irqm bit 5-46 istat register 5-26 l last disconnect bit 5-25 latched scsi parity bit 5-24 latency timer (lt[7:0]) 3-16 ldsc bit 5-25 loa bit 5-23 load and store instructions 6-39 no flush option 6-40 prefetch unit and store instructions 2-4 , 6-41 lost arbitration bit 5-23 low bit 5-63 lsi53c700 family compatibility bit 5-47 lsi53C810a ease of use 1-4 flexibility 1-5 integration 1-4 performance 1-3 reliability 1-5 testability 1-6 m m/a bit 5-48 , 5-51 macntl register 5-55 man bit 5-43 manual start mode bit 5-43 masr bit 5-37 master control for set or reset pulses bit 5-37 master data parity error bit 5-21 mdpe bit 5-44 master enable bit 5-56 master parity error enable bit 5-35 max scsi synchronous offset bits 5-14 max_lat (ml[7:0]) 3-19 mdpe bit 5-21 memory access control register 5-55 memory move instructions 6-36 and scripts instruction prefetching 2-3 no flush option 6-38 memory read line command 3-6 memory read multiple command 3-7 memory write and invalidate command 3-5 write and invalidate mode bit 3-12 min_gnt (mg[7:0]) 3-19 move to/from sfbr cycles 6-24 mpee bit 5-35 msg bit 5-18 , 5-20 , 5-25 n nfmmov instruction 6-38 no flush memory-to-memory move 6-38 o olf bit 5-23 opcode fetch bursting 2-4 operating registers adder sum output 5-47 chip test five 5-36 chip test four 5-34 chip test one 5-30 chip test six 5-37 chip test three 5-32 chip test two 5-30 chip test zero 5-29 data structure address 5-26 dma byte counter 5-38 dma command 5-39 dma control 5-45 dma fifo 5-33 dma interrupt enable 5-44 dma mode 5-41 dma next address 5-39 dma scripts pointer 5-39 dma scripts pointer save 5-40 dma status 5-20 general information 5-1 general purpose 5-16 general purpose pin control 5-56 interrupt status 5-26 memory access control 5-55 response id zero 5-59 scratch register a 5-41 scsi bus control lines 5-20
ix-4 index scsi bus data lines 5-66 scsi chip id 5-11 scsi control one register 5-6 scsi control register two 5-9 scsi control three 5-9 scsi control zero 5-2 scsi destination id 5-15 scsi first byte received 5-17 scsi input data latch 5-65 scsi interrupt enable one 5-50 scsi interrupt enable zero 5-48 scsi interrupt status one 5-53 scsi interrupt status zero 5-51 scsi longitudinal parity 5-54 scsi output control latch 5-18 scsi output data latch 5-66 scsi selector id 5-19 scsi status one 5-24 scsi status two 5-25 scsi status zero 5-22 scsi test one 5-61 scsi test three 5-63 scsi test two 5-62 scsi test zero 5-60 scsi timer one 5-58 scsi timer zero 5-57 scsi transfer 5-12 temporary stack 5-33 orf bit 5-22 p par 4-6 par bit 5-49 , 5-53 parity 2-5 , 4-6 assert even scsi parity bit 5-7 assert satn/ on parity error bit 5-5 disable halt on parity error bit 5-6 enable parity checking bit 5-5 master data parity error bit 5-44 master parity error enable bit 5-35 parity error bit 5-53 scsi parity error bit 5-49 parity error 4-8 parity error bit 5-53 pci bus commands and functions supported 3-2 pci bus commands and functions supported 3-2 pci cache mode 2-4 , 3-3 cache line size enable bit 5-45 cache line size register 3-16 enable read line bit 5-42 enable read multiple bit 5-43 memory read line command 3-6 memory read multiple command 3-7 memory write and invalidate command 3-5 write and invalidate mode bit 3-12 pci commands 3-2 pci configuration registers 3-9 to 3-19 base address one (memory) 3-17 base address zero (i/o) 3-17 cache line size 3-16 class code 3-15 command 3-11 device id 3-11 header type 3-17 interrupt line 3-18 interrupt pin 3-18 latency timer 3-16 max_lat 3-19 min_gnt 3-19 revision id 3-15 status 3-13 vendor id 3-11 pci configuration space 3-1 pci i/o space 3-2 pci memory space 3-2 perr/ 4-8 pfen bit 5-45 pff bit 5-45 phase mismatch bit 5-51 physical dword address and data 4-6 pointer scripts bit pscpt bit 5-56 prefetch enable bit 5-45 prefetch flush bit 5-45 r read multiple commands enable read multiple bit 5-43 read/write instructions 6-23 read-modify-write cycles 6-26 register addresses operating registers 0x00 5-2 0x01 5-6 0x02 5-9 0x03 5-9 0x04 5-11 0x05 5-12 0x06 5-15 0x07 5-16 0x08 5-17 0x09 5-18 0x0a 5-19 0x0b 5-20 0x0c 5-20 0x0d 5-22 0x0e 5-24 0x0f 5-25 0x10C0x13 5-26 0x14 5-26 0x18 5-29 0x19 5-30 0x1a 5-30 0x1cC0x1f 5-33 0x20 5-33 0x21 5-34 0x22 5-36 0x23 5-37 0x24C0x26 5-38 0x27 5-39 0x28C0x2b 5-39 0x2cC0x2f 5-39 0x30C0x33 5-40 0x34C0x37 5-41 0x38 5-41 0x39 5-44 0x3b 5-45 0x3cC0x3f 5-47 0x40 5-48
index ix-5 0x41 5-50 0x42 5-51 0x43 5-53 0x44 5-54 0x46 5-55 0x47 5-56 0x48 5-57 0x49 5-58 0x4a 5-59 0x4c 5-60 0x4d 5-61 0x4e 5-62 0x4f 5-63 0x50 5-65 0x54 5-66 0x58 5-66 pci configuration registers 0x00 3-11 0x02 3-11 0x04 3-11 0x06 3-13 0x08 3-15 0x09 3-15 0x0c 3-16 0x0d 3-16 0x0e 3-17 0x10 3-17 0x14 3-17 0x3c 3-18 0x3d 3-18 0x3e 3-19 0x3f 3-19 encoded chip scsi id, bits 5-12 register bits abort operation 5-26 aborted 5-21 , 5-44 arbitration in progress 5-23 arbitration mode 5-3 arbitration priority encoder test 5-60 assert even scsi parity 5-7 assert satn/ on parity error 5-5 assert scsi ack 5-18 assert scsi atn/ 5-18 assert scsi bsy/ 5-18 assert scsi c_d/ 5-18 assert scsi data bus 5-6 assert scsi i_o/ 5-18 assert scsi msg/ 5-18 assert scsi req/ signal 5-18 assert scsi rst/ signal 5-7 assert scsi sel/ 5-18 burst disable 5-34 burst length 5-41 burst mode fetch enable 5-43 bus fault 5-44 byte empty in dma fifo 5-30 byte full in dma fifo 5-30 byte offset counter 5-33 cache line size enable 5-45 chip revision level 5-32 chip type 5-55 clear dma fifo 5-32 clear scsi fifo 5-64 clock address incrementor 5-36 clock byte counter 5-36 clock conversion factor 5-10 configured as i/o 5-31 configured as memory 5-31 connected 5-7 , 5-28 dack 5-31 data transfer direction 5-30 datard 5-56 datawr 5-56 destination i/o-memory enable 5-42 disable halt on parity error 5-6 disable single initiator response 5-64 dma direction 5-37 dma fifo 5-37 dma fifo empty bit 5-21 dma interrupt pending 5-29 dreq 5-31 enable parity checking 5-5 enable read line 5-42 enable read multiple 5-43 enable response to reselection 5-11 enable response to selection 5-11 encoded destination id 5-15 encoded destination scsi id 5-19 extend sreq/sack filtering 5-63 extra clock cycle of data setup 5-6 fetch enable 5-57 fetch pin mode 5-32 fifo byte control 5-36 fifo flags 5-24 flush dma fifo 5-32 function complete 5-48 , 5-51 general purpose timer expired 5-50 , 5-54 general purpose timer period 5-58 gpio enable 5-57 gpio[1:0] 5-16 halt scsi clock 5-64 handshake-to-handshake timer expired 5-50 , 5-54 handshake-to-handshake timer period 5-57 high impedance mode 5-35 illegal instruction detected 5-22 , 5-44 immediate arbitration 5-7 interrupt-on-the-fly 5-28 irq disable 5-46 irq mode 5-46 last disconnect 5-25 latched scsi parity 5-24 lost arbitration 5-23 lsi53c700 family compatibility 5-47 manual start mode 5-43 master control for set or reset pulses 5-37 master data parity error 5-21 , 5-44 master enable 5-56 master parity error enable 5-35 max scsi synchronous offset 5-14 parity error 5-53 phase mismatch or satn/ active 5-51 pointer scripts 5-56 prefetch enable 5-45 prefetch flush 5-45 reselected 5-48 , 5-52 reset scsi offset 5-62 sack/ status 5-20 satn/ status 5-20 sbsy/ status 5-20 sc_d/ status 5-20 sclk 5-61 scripts 5-56
ix-6 index scripts interrupt instruction received 5-21 , 5-44 scsi c_d/ signal 5-25 scsi control enable 5-62 scsi data high impedance 5-35 scsi disconnect unexpected 5-9 scsi fifo test read 5-64 scsi fifo test write 5-65 scsi gross error 5-48 , 5-52 scsi high impedance mode 5-62 scsi i_o/ signal 5-25 scsi interrupt pending 5-28 scsi isolation 5-61 scsi loopback mode 5-62 scsi low level mode 5-63 scsi msg/ signal 5-25 scsi parity error 5-49 scsi phase mismatch or scsi atn condition 5-48 scsi reset condition 5-49 scsi rst/ received 5-53 scsi rst/ signal 5-23 scsi sdp/ signal 5-23 scsi selected as id 5-60 scsi synchronous offset maximum 5-61 scsi synchronous offset zero 5-60 scsi synchronous transfer period 5-12 scsi true end of process 5-31 scsi valid 5-19 select with satn/ on a start sequence 5-4 selected 5-48 , 5-52 selection or reselection time-out 5-50 , 5-54 selection response logic test 5-60 selection time-out 5-58 semaphore 5-27 shadow register test mode 5-35 si_o/ status 5-20 sidl full 5-22 signal process 5-27 , 5-31 single step interrupt 5-21 , 5-44 single-step mode 5-46 smsg/ status 5-20 sodl full 5-23 sodr full 5-22 software reset 5-27 source i/o-memory enable 5-42 sreq/ status 5-20 ssel/ status 5-20 start dma operation 5-46 start scsi transfer 5-8 start sequence 5-4 synchronous clock conversion factor bits 5-9 target mode 5-5 unexpected disconnect 5-49 , 5-52 watn 5-4 won arbitration 5-23 reliability 1-5 req bit 5-18 , 5-20 req/ 4-8 request 4-8 reselect during reselection 2-11 response to 2-11 reselected bit 5-48 , 5-52 reset 4-5 reset scsi offset bit 5-62 respid0 register 5-59 response id zero register 5-59 revision level bits 5-32 rof bit 5-62 rre bit 5-11 rsl bit 5-48 , 5-52 rst bit 5-7 , 5-49 , 5-53 rst/ 4-5 rst/ bit 5-23 s sack/ 4-9 sack/ status bit 5-20 satn/ 4-9 satn/ active bit 5-51 satn/ status bit 5-20 sbcl register 5-20 sbdl register 5-66 sbsy/ 4-9 sbsy/ status bit 5-20 sc_d/ status bit 5-20 scd/ 4-9 sce bit 5-62 scf[2:0] bits 5-9 scid register 5-11 sclk 4-9 sclk bit 5-61 scntl0 register 5-2 scntl1 register 5-6 scntl2 register 5-9 scntl3 register 5-9 scpts bit 5-56 scratcha register 5-41 scripts sample operation 6-3 scripts bit 5-56 scripts instruction prefetching no flush memory move instruction 6-38 prefetch enable bit 5-45 prefetch flush bit 5-45 scripts interrupt instruction received bit 5-21 , 5-44 scripts processor 2-2 performance 2-2 scsi termination 2-11 scsi atn condition - target mode 5-48 scsi bus control lines register 5-20 scsi bus data lines register 5-66 scsi bus interface 2-11 to 2-12 scsi c_d/ signal 5-25 scsi chip id register 5-11 scsi clock 4-9 scsi control 4-9 scsi control enable bit 5-62 scsi control one register 5-6 scsi control three register 5-9 scsi control two register 5-9 scsi control zero register 5-2 scsi core 2-1 scsi data high impedance bit 5-35 scsi destination id register 5-15 scsi disconnect unexpected bit 5-9 scsi fifo test read bit 5-64 scsi fifo test write bit 5-65 scsi first byte received register 5-17 scsi gross error bit 5-48 , 5-52 scsi high impedance mode bit 5-62
index ix-7 scsi i_o/ bit 5-25 scsi input data latch register 5-65 scsi instructions block move 6-5 i/o 6-13 load/store 6-39 memory move 6-36 read/write 6-23 scsi interrupt enable one register 5-50 scsi interrupt enable zero register 5-48 scsi interrupt pending bit 5-28 scsi interrupt status one register 5-53 scsi interrupt status zero register 5-51 scsi isolation bit 5-61 scsi longitudinal parity register 5-54 scsi loopback mode bit 5-62 scsi low level mode 5-63 scsi msg/ bit 5-25 scsi output control latch register 5-18 scsi output data latch register 5-66 scsi parity error bit 5-49 scsi phase mismatch - initiator mode bit 5-48 scsi reset condition bit 5-49 scsi rst/ received bit 5-53 scsi rst/ signal bit 5-23 scsi scripts operation 6-2 scsi sdp0/ parity signal bit 5-23 scsi selected as id bits 5-60 scsi selector id register 5-19 scsi status one register 5-24 scsi status two register 5-25 scsi status zero register 5-22 scsi synchronous offset maximum bit 5-61 scsi synchronous offset zero bit 5-60 scsi synchronous transfer period bits 5-12 scsi test one register 5-61 scsi test three register 5-63 scsi test two register 5-62 scsi test zero register 5-60 scsi timer one register 5-58 scsi timer zero register 5-57 scsi timings 7-27 scsi transfer register 5-12 scsi true end of process bit 5-31 scsi valid bit 5-19 sctrl/ 4-9 sd/[15:0] 4-9 sdid register 5-15 sdp/ bit 5-23 sdp/[1:0] 4-9 sdpl bit 5-24 sdu bit 5-9 sel bit 5-18 , 5-20 , 5-48 , 5-52 sel bits 5-58 select with satn/ on a start sequence bit 5-4 selected bit 5-48 , 5-52 selection during reselection 2-11 during selection 2-11 response to 2-11 selection or reselection time-out bit 5-50 sto bit 5-54 selection response logic test bit 5-60 selection time-out bits 5-58 sem bit 5-27 semaphore bit 5-27 serr/ 4-8 sfbr register 5-17 sge bit 5-48 , 5-52 shadow register test mode bit 5-35 si_o bit 5-20 si_o/ status bit 5-20 sidl bit 5-22 sidl least significant byte full bit 5-22 sidl register 5-65 sien0 register 5-48 sien1 register 5-50 signal process bit 5-27 , 5-31 sigp bit 5-27 , 5-31 single step interrupt bit 5-21 , 5-44 single-ended operation 2-11 single-step mode bit 5-46 sio/ 4-9 siom bit 5-42 sip bit 5-28 sir bit 5-21 , 5-44 siso bit 5-61 sist0 register 5-51 sist1 register 5-53 slb bit 5-62 slpar register 5-54 slt bit 5-60 smsg/ 4-9 smsg/ status bit 5-20 socl register 5-18 sodl least significant byte full bit 5-23 sodl register 5-66 sodr least significant byte full bit 5-22 software reset bit 5-27 som bit 5-61 source i/o-memory enable bit 5-42 soz bit 5-60 sre bit 5-11 sreq/ 4-9 sreq/ status bit 5-20 srst bit 5-27 srst/ 4-9 srtm bit 5-35 ssaid bits 5-60 ssel/ 4-9 ssel/ status bit 5-20 ssi bit 5-21 , 5-44 ssid register 5-19 ssm bit 5-46 sst bit 5-8 sstat0 register 5-22 sstat1 register 5-24 sstat2 register 5-25 stacked interrupts 2-19 start bit 5-4 start dma operation bit 5-46 start scsi transfer bit 5-8 start sequence bit 5-4 std bit 5-46 stest0 register 5-60 stest1 register 5-61 stest2 register 5-62 stest3 register 5-63 stime0 register 5-57 stime1 register 5-58 sto bit 5-50 stop 4-7
ix-8 index storage device management system (sdms) 2-3 str bit 5-64 stw bit 5-65 sxfer register 5-12 synchronous clock conversion factor bits 5-9 synchronous data transfer rate 2-13 synchronous operation 2-13 szm bit 5-62 t target mode satn/ active 5-51 target mode bit 5-5 target ready 4-7 te bit 5-63 temp register 5-33 temporary register 5-33 teop bit 5-31 termination 2-11 testability 1-6 timer test mode bit 5-64 timing diagrams 7-12 pci interface 7-26 scsi timings 7-27 timings pci 7-26 scsi 7-27 tolerant 1-2 enable bit 5-63 extend sreq/sack filtering bit 5-63 totem pole output 4-3 tp[2:0] bits 5-12 transfer control instructions 6-27 prefetch unit flushing 2-4 transfer rate 1-3 clock conversion factor bits 5-10 synchronous 2-13 synchronous clock conversion factor bits 5-9 trdy/ 4-7 trg bit 5-5 ttm bit 5-64 typ[3:0] bits 5-55 u udc bit 5-49 , 5-52 unexpected disconnect bit 5-49 , 5-52 v val bit 5-19 vdd 4-3 vdd-c 4-3 vss 4-3 vss-c 4-3 vss-s 4-3 w watn bit 5-4 woa bit 5-23 won arbitration bit 5-23 z zmod bit 5-35 zsd bit 5-35
lsi53C810a pci to scsi i/o processor customer feedback we would appreciate your feedback on this document. please copy the following page, add your comments, and fax it to us at the number shown. if appropriate, please also fax copies of any marked-up pages from this document. impor tant: please include your name, phone number, fax number, and company address so that we may contact you directly for clari?cation or additional information. thank you for your help in improving the quality of our documents.
customer feedback readers comments fax your comments to: lsi logic corporation technical publications m/s e-198 fax: 408.433.4333 please tell us how you rate this document: lsi53C810a pci to scsi i/o processor technical manual. place a check mark in the appropriate blank for each category. what could we do to improve this document? if you found errors in this document, please specify the error and page number. if appropriate, please fax a marked-up copy of the page(s). please complete the information below so that we may contact you directly for clari?cation or additional information. excellent good average fair poor completeness of information ____ ____ ____ ____ ____ clarity of information ____ ____ ____ ____ ____ ease of ?nding information ____ ____ ____ ____ ____ technical content ____ ____ ____ ____ ____ usefulness of examples and illustrations ____ ____ ____ ____ ____ overall manual ____ ____ ____ ____ ____ name date telephone title company name street city, state, zip department mail stop fax
u.s. distributors by state a. e. avnet electronics http://www.hh.avnet.com b. m. bell microproducts, inc. (for habs) http://www.bellmicro.com i. e. insight electronics http://www.insight-electronics.com w. e. wyle electronics http://www.wyle.com alabama daphne i. e. tel: 334.626.6190 huntsville a. e. tel: 256.837.8700 i. e. tel: 256.830.1222 w. e. tel: 800.964.9953 alaska a. e. tel: 800.332.8638 arkansas w. e. tel: 972.235.9953 arizona phoenix a. e. tel: 480.736.7000 b. m. tel: 602.267.9551 w. e. tel: 800.528.4040 tempe i. e. tel: 480.829.1800 tucson a. e. tel: 520.742.0515 california agoura hills b. m. tel: 818.865.0266 irvine a. e. tel: 949.789.4100 b. m. tel: 949.470.2900 i. e. tel: 949.727.3291 w. e. tel: 800.626.9953 los angeles a. e. tel: 818.594.0404 w. e. tel: 800.288.9953 sacramento a. e. tel: 916.632.4500 w. e. tel: 800.627.9953 san diego a. e. tel: 858.385.7500 b. m. tel: 858.597.3010 i. e. tel: 800.677.6011 w. e. tel: 800.829.9953 san jose a. e. tel: 408.435.3500 b. m. tel: 408.436.0881 i. e. tel: 408.952.7000 santa clara w. e. tel: 800.866.9953 woodland hills a. e. tel: 818.594.0404 westlake village i. e. tel: 818.707.2101 colorado denver a. e. tel: 303.790.1662 b. m. tel: 303.846.3065 w. e. tel: 800.933.9953 englewood i. e. tel: 303.649.1800 connecticut cheshire a. e. tel: 203.271.5700 i. e. tel: 203.272.5843 wallingford w. e. tel: 800.605.9953 delaware north/south a. e. tel: 800.526.4812 tel: 800.638.5988 b. m. tel: 302.328.8968 w. e. tel: 856.439.9110 florida altamonte springs b. m. tel: 407.682.1199 i. e. tel: 407.834.6310 boca raton i. e. tel: 561.997.2540 clearwater i. e. tel: 727.524.8850 fort lauderdale a. e. tel: 954.484.5482 w. e. tel: 800.568.9953 miami b. m. tel: 305.477.6406 orlando a. e. tel: 407.657.3300 w. e. tel: 407.740.7450 tampa w. e. tel: 800.395.9953 st. petersburg a. e. tel: 727.507.5000 georgia atlanta a. e. tel: 770.623.4400 b. m. tel: 770.980.4922 w. e. tel: 800.876.9953 duluth i. e. tel: 678.584.0812 hawaii a. e. tel: 800.851.2282 idaho a. e. tel: 801.365.3800 w. e. tel: 801.974.9953 illinois north/south a. e. tel: 847.797.7300 tel: 314.291.5350 chicago b. m. tel: 847.413.8530 w. e. tel: 800.853.9953 schaumburg i. e. tel: 847.885.9700 indiana fort wayne i. e. tel: 219.436.4250 w. e. tel: 888.358.9953 indianapolis a. e. tel: 317.575.3500 iowa w. e. tel: 612.853.2280 cedar rapids a. e. tel: 319.393.0033 kansas w. e. tel: 303.457.9953 kansas city a. e. tel: 913.663.7900 lenexa i. e. tel: 913.492.0408 kentucky w. e. tel: 937.436.9953 central/northern/ western a. e. tel: 800.984.9503 tel: 800.767.0329 tel: 800.829.0146 louisiana w. e. tel: 713.854.9953 north/south a. e. tel: 800.231.0253 tel: 800.231.5575 maine a. e. tel: 800.272.9255 w. e. tel: 781.271.9953 maryland baltimore a. e. tel: 410.720.3400 w. e. tel: 800.863.9953 columbia b. m. tel: 800.673.7461 i. e. tel: 410.381.3131 massachusetts boston a. e. tel: 978.532.9808 w. e. tel: 800.444.9953 burlingtonr i. e. tel: 781.270.9400 marlborough b. m. tel: 508.480.9099 woburn b. m. tel: 781.933.9010 michigan brighton i. e. tel: 810.229.7710 detroit a. e. tel: 734.416.5800 w. e. tel: 888.318.9953 minnesota champlin b. m. tel: 800.557.2566 eden prairie b. m. tel: 800.255.1469 minneapolis a. e. tel: 612.346.3000 w. e. tel: 800.860.9953 st. louis park i. e. tel: 612.525.9999 mississippi a. e. tel: 800.633.2918 w. e. tel: 256.830.1119 missouri w. e. tel: 630.620.0969 st. louis a. e. tel: 314.291.5350 i. e. tel: 314.872.2182 montana a. e. tel: 800.526.1741 w. e. tel: 801.974.9953 nebraska a. e. tel: 800.332.4375 w. e. tel: 303.457.9953 nevada las vegas a. e. tel: 800.528.8471 w. e. tel: 702.765.7117 new hampshire a. e. tel: 800.272.9255 w. e. tel: 781.271.9953 new jersey north/south a. e. tel: 201.515.1641 tel: 609.222.6400 mt. laurel i. e. tel: 609.222.9566 pine brook w. e. tel: 800.862.9953 parsippany i. e. tel: 973.299.4425 wayne w. e. tel: 973.237.9010 new mexico w. e. tel: 480.804.7000 albuquerque a. e. tel: 505.293.5119
u.s. distributors by state (continued) new york hauppauge i. e. tel: 516.761.0960 long island a. e. tel: 516.434.7400 w. e. tel: 800.861.9953 rochester a. e. tel: 716.475.9130 i. e. tel: 716.242.7790 w. e. tel: 800.319.9953 smithtown b. m. tel: 800.543.2008 syracuse a. e. tel: 315.449.4927 north carolina raleigh a. e. tel: 919.859.9159 i. e. tel: 919.873.9922 w. e. tel: 800.560.9953 north dakota a. e. tel: 800.829.0116 w. e. tel: 612.853.2280 ohio cleveland a. e. tel: 216.498.1100 w. e. tel: 800.763.9953 dayton a. e. tel: 614.888.3313 i. e. tel: 937.253.7501 w. e. tel: 800.575.9953 strongsville b. m. tel: 440.238.0404 valley view i. e. tel: 216.520.4333 oklahoma w. e. tel: 972.235.9953 tulsa a. e. tel: 918.459.6000 i. e. tel: 918.665.4664 oregon beavertonr b. m. tel: 503.524.0787 i. e. tel: 503.644.3300 portland a. e. tel: 503.526.6200 w. e. tel: 800.879.9953 pennsylvania mercer i. e. tel: 412.662.2707 pittsburgh a. e. tel: 412.281.4150 w. e. tel: 440.248.9996 philadelphia a. e. tel: 800.526.4812 b. m. tel: 215.741.4080 w. e. tel: 800.871.9953 rhode island a. e. 800.272.9255 w. e. tel: 781.271.9953 south carolina a. e. tel: 919.872.0712 w. e. tel: 919.469.1502 south dakota a. e. tel: 800.829.0116 w. e. tel: 612.853.2280 tennessee w. e. tel: 256.830.1119 east/west a. e. tel: 800.241.8182 tel: 800.633.2918 texas austin a. e. tel: 512.219.3700 b. m. tel: 512.258.0725 i. e. tel: 512.719.3090 w. e. tel: 800.365.9953 dallas a. e. tel: 214.553.4300 b. m. tel: 972.783.4191 w. e. tel: 800.955.9953 el paso a. e. tel: 800.526.9238 houston a. e. tel: 713.781.6100 b. m. tel: 713.917.0663 w. e. tel: 800.888.9953 richardson i. e. tel: 972.783.0800 rio grande valley a. e. tel: 210.412.2047 stafford i. e. tel: 281.277.8200 utah centerville b. m. tel: 801.295.3900 murray i. e. tel: 801.288.9001 salt lake city a. e. tel: 801.365.3800 w. e. tel: 800.477.9953 vermont a. e. tel: 800.272.9255 w. e. tel: 716.334.5970 virginia a. e. tel: 800.638.5988 w. e. tel: 301.604.8488 washington kirkland i. e. tel: 425.820.8100 seattle a. e. tel: 425.882.7000 w. e. tel: 800.248.9953 west virginia a. e. tel: 800.638.5988 wisconsin milwaukee a. e. tel: 414.513.1500 w. e. tel: 800.867.9953 wauwatosa i. e. tel: 414.258.5338 wyoming a. e. tel: 800.332.9326 w. e. tel: 801.974.9953
direct sales representatives by state (component and boards) e. a. earle associates e. l. electrodyne - ut grp group 2000 i. s. in?nity sales, inc. ion ion associates, inc. r. a. rathsburg associ- ates, inc. sgy synergy associates, inc. arizona tempe e. a. tel: 480.921.3305 california calabasas i. s. tel: 818.880.6480 irvine i. s. tel: 714.833.0300 san diego e. a. tel: 619.278.5441 illinois elmhurst r. a. tel: 630.516.8400 indiana cicero r. a. tel: 317.984.8608 ligonier r. a. tel: 219.894.3184 plain?eld r. a. tel: 317.838.0360 massachusetts burlington sgy tel: 781.238.0870 michigan byron center r. a. tel: 616.554.1460 good rich r. a. tel: 810.636.6060 novi r. a. tel: 810.615.4000 north carolina cary grp tel: 919.481.1530 ohio columbus r. a. tel: 614.457.2242 dayton r. a. tel: 513.291.4001 independence r. a. tel: 216.447.8825 pennsylvania somerset r. a. tel: 814.445.6976 texas austin ion tel: 512.794.9006 arlington ion tel: 817.695.8000 houston ion tel: 281.376.2000 utah salt lake city e. l. tel: 801.264.8050 wisconsin muskego r. a. tel: 414.679.8250 saukville r. a. tel: 414.268.1152
sales of?ces and design resource centers lsi logic corporation corporate headquarters tel: 408.433.8000 fax: 408.433.8989 north america california costa mesa - mint technology tel: 949.752.6468 fax: 949.752.6868 irvine tel: 949.809.4600 fax: 949.809.4444 pleasanton design center tel: 925.730.8800 fax: 925.730.8700 san diego tel: 858.467.6981 fax: 858.496.0548 silicon valley tel: 408.433.8000 fax: 408.954.3353 wireless design center tel: 858.350.5560 fax: 858.350.0171 colorado boulder tel: 303.447.3800 fax: 303.541.0641 colorado springs tel: 719.533.7000 fax: 719.533.7020 fort collins tel: 970.223.5100 fax: 970.206.5549 florida boca raton tel: 561.989.3236 fax: 561.989.3237 georgia alpharetta tel: 770.753.6146 fax: 770.753.6147 illinois oakbrook terrace tel: 630.954.2234 fax: 630.954.2235 kentucky bowling green tel: 270.793.0010 fax: 270.793.0040 maryland bethesda tel: 301.897.5800 fax: 301.897.8389 massachusetts waltham tel: 781.890.0180 fax: 781.890.6158 burlington - mint technology tel: 781.685.3800 fax: 781.685.3801 minnesota minneapolis tel: 612.921.8300 fax: 612.921.8399 new jersey red bank tel: 732.933.2656 fax: 732.933.2643 cherry hill - mint technology tel: 609.489.5530 fax: 609.489.5531 new york fairport tel: 716.218.0020 fax: 716.218.9010 north carolina raleigh tel: 919.785.4520 fax: 919.783.8909 oregon beaverton tel: 503.645.0589 fax: 503.645.6612 texas austin tel: 512.388.7294 fax: 512.388.4171 plano tel: 972.244.5000 fax: 972.244.5001 houston tel: 281.379.7800 fax: 281.379.7818 canada ontario ottawa tel: 613.592.1263 fax: 613.592.3253 international france paris lsi logic s.a. immeuble europa tel: 33.1.34.63.13.13 fax: 33.1.34.63.13.19 germany munich lsi logic gmbh tel: 49.89.4.58.33.0 fax: 49.89.4.58.33.108 stuttgart tel: 49.711.13.96.90 fax: 49.711.86.61.428 italy milano lsi logic s.p.a. tel: 39.039.687371 fax: 39.039.6057867 japan tokyo lsi logic k.k. tel: 81.3.5463.7821 fax: 81.3.5463.7820 osaka tel: 81.6.947.5281 fax: 81.6.947.5287 korea seoul lsi logic corporation of korea ltd tel: 82.2.528.3400 fax: 82.2.528.2250 the netherlands eindhoven lsi logic europe ltd tel: 31.40.265.3580 fax: 31.40.296.2109 singapore singapore lsi logic pte ltd tel: 65.334.9061 fax: 65.334.4749 tel: 65.835.5040 fax: 65.732.5047 sweden stockholm lsi logic ab tel: 46.8.444.15.00 fax: 46.8.750.66.47 taiwan taipei lsi logic asia, inc. taiwan branch tel: 886.2.2718.7828 fax: 886.2.2718.8869 united kingdom bracknell lsi logic europe ltd tel: 44.1344.426544 fax: 44.1344.481039 sales of?ces with design resource centers
international distributors australia new south wales reptechnic pty ltd tel: 612.9953.9844 fax: 612.9953.9683 belgium acal nv/sa tel: 32.2.7205983 fax: 32.2.7251014 china beijing lsi logic international services inc. tel: 86.10.6804.2534 fax: 86.10.6804.2521 france rungis cedex azzurri technology france tel: 33.1.41806310 fax: 33.1.41730340 germany haar ebv elektronik tel: 49.89.4600980 fax: 49.89.46009840 munich avnet emg gmbh tel: 49.89.45110102 fax: 49.89.42.27.75 wuennenberg-haaren peacock ag tel: 49.2957.79.1692 fax: 49.2957.79.9341 hong kong hong kong avt industrial ltd tel: 852.2428.0008 fax: 852.2401.2105 eastele tel: 852.2798.8860 fax: 852.2305.0640 india bangalore spike technologies india private ltd tel: 91.80.664.5530 fax: 91.80.664.9748 israel tel aviv eastronics ltd tel: 972.3.6458777 fax: 972.3.6458666 japan tokyo global electronics corporation tel: 81.3.3260.1411 fax: 81.3.3260.7100 technical center tel: 81.471.43.8200 yokohama-city macnica corporation tel: 81.45.939.6140 fax: 81.45.939.6141 the netherlands eindhoven acal nederland b.v. tel: 31.40.2.502602 fax: 31.40.2.510255 switzerland brugg lsi logic sulzer ag tel: 41.32.3743232 fax: 41.32.3743233 taiwan taipei avnet-mercuries corporation, ltd tel: 886.2.2516.7303 fax: 886.2.2505.7391 lumax international corporation, ltd tel: 886.2.2788.3656 fax: 886.2.2788.3568 prospect technology corporation, ltd tel: 886.2.2721.9533 fax: 886.2.2773.3756 serial semiconductor corporation, ltd tel: 886.2.2579.5858 fax: 886.2.2570.3123 united kingdom maidenhead azzurri technology ltd tel: 44.1628.826826 fax: 44.1628.829730 swindon ebv elektronik tel: 44.1793.849933 fax: 44.1793.859555 sales of?ces with design resource centers


▲Up To Search▲   

 
Price & Availability of 53C810

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X